<?php
 namespace app\admin\controller; use app\admin\service\Area; use app\admin\service\GoodsCate; use app\admin\service\GoodsLabel; use app\admin\service\Images; use app\admin\service\Supplier; use think\Db; class Goods extends Base { public function supplier() { goto cCpEA; cCpEA: $supplier = new \app\admin\service\Goods(); goto Ihg72; HdXOl: return view("\147\157\x6f\x64\163\x2f\x73\x75\160\160\x6c\x69\145\x72"); goto AMY1L; C78EX: $this->assign("\163\145\x61\x72\x63\150\137\x74\x65\170\164", $search_text); goto HdXOl; khmuW: $this->assign("\x70\141\x67\x65", $page); goto C78EX; HgyH1: $list = $supplier->getSupplierList($condition, $search_text); goto IRVJc; Ihg72: $search_text = request()->post("\163\x65\141\x72\143\x68\137\164\x65\170\x74", ''); goto Cq9m3; GJMHp: $condition["\x6d\143\150\137\x69\144"] = array("\145\x71", $this->bus_id); goto HgyH1; Cq9m3: $condition["\x73\165\x70\160\x6c\x69\x65\x72\137\x6e\x61\x6d\145"] = array("\154\x69\x6b\x65", "\x25" . $search_text . "\x25"); goto GJMHp; hzri5: $this->assign("\x6c\x69\163\164", $list); goto khmuW; IRVJc: $page = $list->render(); goto hzri5; AMY1L: } public function supplier_add() { goto Ncsl_; wIWrU: $mch_id = isset($this->bus_id) ? $this->bus_id : "\x30"; goto SO3p1; gltTa: F7j2M: goto Y_D97; ke1z7: $supplier_name = request()->post("\163\x75\160\x70\x6c\x69\145\162\x5f\x6e\141\x6d\145", ''); goto nv8Me; Ncsl_: $supplier = new \app\admin\service\Goods(); goto Ver8z; QCQ6U: $tel = request()->post("\x74\x65\154", ''); goto rzkhO; gXtaI: return AjaxReturn($res); goto gltTa; nv8Me: $name = request()->post("\x6e\x61\155\145", ''); goto QCQ6U; SO3p1: $res = $supplier->addSupplier($supplier_name, $name, $tel, $address, $info, $logo, $mch_id); goto gXtaI; Y_D97: return view("\x67\157\x6f\x64\163\x2f\x73\165\160\160\154\151\x65\162\137\141\x64\x64"); goto WuM6S; Ph2V3: $logo = request()->post("\x6c\x6f\147\x6f", ''); goto wIWrU; dpGjq: $info = request()->post("\x69\x6e\x66\157", ''); goto Ph2V3; Ver8z: if (!request()->isAjax()) { goto F7j2M; } goto ke1z7; rzkhO: $address = request()->post("\141\144\144\162\x65\x73\x73", ''); goto dpGjq; WuM6S: } public function supplier_edit() { goto KrA1z; f0AnD: if (!request()->isAjax()) { goto rSopz; } goto hD33k; Jprbr: $tel = request()->post("\x74\145\x6c", ''); goto Mfwwd; ciGl6: rSopz: goto d0q9X; bfDsm: $info = $supplier->getSupplierInfo($supplier_id); goto xXpFK; Hrs8n: return AjaxReturn($res); goto ciGl6; vpagk: $this->assign("\x69\x6e\x66\157", $info); goto u0T2r; KrA1z: $supplier = new \app\admin\service\Goods(); goto f0AnD; uUhNG: $supplier_name = request()->post("\163\x75\x70\x70\154\151\x65\x72\137\x6e\141\155\145", ''); goto VNFEa; u0T2r: return view("\x67\x6f\157\144\163\57\163\165\160\160\x6c\x69\145\162\x5f\x65\144\x69\x74"); goto s2gbk; d0q9X: $supplier_id = request()->get("\x73\x75\160\x70\137\151\144", 0); goto bfDsm; xXpFK: $this->assign("\163\165\x70\160\154\151\x65\x72\x5f\x69\x64", $supplier_id); goto vpagk; Mfwwd: $address = request()->post("\x61\x64\x64\x72\145\x73\x73", ''); goto rPNxp; fLBJX: $res = $supplier->updateSupplier($supplier_id, $supplier_name, $name, $tel, $address, $info, $logo, $this->bus_id); goto Hrs8n; VNFEa: $name = request()->post("\156\x61\x6d\145", ''); goto Jprbr; hD33k: $supplier_id = request()->post("\163\x75\x70\x70\154\x69\145\162\137\151\144", ''); goto uUhNG; H7POM: $logo = request()->post("\154\x6f\x67\x6f", ''); goto fLBJX; rPNxp: $info = request()->post("\x69\156\146\157", ''); goto H7POM; s2gbk: } public function supplier_del() { goto WL21d; WL21d: $supplier = new \app\admin\service\Goods(); goto wcdgM; wcdgM: $supplier_id = request()->post("\x73\165\x70\160\x5f\151\144", 0); goto mczY4; mczY4: $res = $supplier->deleteSupplier($supplier_id); goto w49y7; w49y7: return AjaxReturn($res); goto nbKuf; nbKuf: } public function goods_spec() { goto PBUed; twKyF: return view("\x67\x6f\x6f\144\163\57\147\x6f\x6f\x64\x73\137\163\160\145\143"); goto m1F8C; QlZHO: $list = $goods->getGoodsSpecList($condition, $search_text); goto PVPdR; Kxnvo: $this->assign("\x70\x61\147\x65", $page); goto CIg24; PBUed: $goods = new \app\admin\service\Goods(); goto VrEEo; v11yt: $condition["\x6d\x63\150\x5f\151\144"] = array("\x65\161", $this->bus_id); goto QlZHO; PVPdR: $page = $list->render(); goto yk6AW; CIg24: $this->assign("\163\145\x61\x72\143\150\x5f\164\145\x78\164", $search_text); goto twKyF; VrEEo: $search_text = request()->post("\163\145\141\162\x63\150\137\164\x65\170\x74", ''); goto xMJtp; yk6AW: $this->assign("\154\151\163\164", $list); goto Kxnvo; xMJtp: $condition["\163\x70\145\x63\137\156\x61\x6d\145"] = array("\154\x69\x6b\x65", "\x25" . $search_text . "\x25"); goto v11yt; m1F8C: } public function goods_spec_add() { goto Pz9xf; edsB1: $goods_cate = new GoodsCate(); goto coK4Q; GqVfS: $attr_id = request()->post("\141\x74\x74\162\x5f\x69\x64", 0); goto RtfvQ; Pz9xf: if (request()->isAjax()) { goto rvJFi; } goto edsB1; lhdM5: $show_type = request()->post("\x73\150\157\x77\137\x74\x79\160\145", ''); goto pc0VS; BR0Jv: return view("\147\x6f\157\x64\x73\57\147\x6f\157\144\x73\137\163\x70\x65\143\x5f\141\x64\x64"); goto KRefE; RtfvQ: $is_screen = request()->post("\x69\163\137\x73\143\162\145\x65\156", 0); goto UqKhy; W01ux: $is_visible = request()->post("\151\163\x5f\x76\151\163\x69\x62\154\x65", ''); goto W0GlO; iA0_R: $mch_id = isset($this->bus_id) ? $this->bus_id : "\60"; goto n80ni; kvsj4: $goods = new \app\admin\service\Goods(); goto EQHy7; UqKhy: $cate_id = request()->post("\143\x61\164\145\x5f\151\x64", 0); goto iA0_R; EQHy7: $spec_name = request()->post("\x73\x70\145\x63\x5f\x6e\x61\x6d\x65", ''); goto W01ux; Uu0HJ: rvJFi: goto kvsj4; n80ni: $res = $goods->addGoodsSpecService($spec_name, $show_type, $is_visible, $sort, $spec_value_str, $attr_id, $is_screen, $cate_id, $mch_id); goto SlbW9; FyH6_: KIZf1: goto ASf_Z; sG7Fo: $this->assign("\162\145\x73", $res); goto BR0Jv; W0GlO: $sort = request()->post("\x73\x6f\x72\164", ''); goto lhdM5; KRefE: goto KIZf1; goto Uu0HJ; pc0VS: $spec_value_str = request()->post("\x73\x70\145\x63\x5f\166\x61\x6c\x75\x65\137\x73\164\x72", ''); goto GqVfS; coK4Q: $res = $goods_cate->getGoodsCateV1("\x6c\145\x76\145\154\75\x31"); goto sG7Fo; SlbW9: return AjaxReturn($res); goto FyH6_; ASf_Z: } public function addGoodsSpecValue() { goto HOuUf; HOuUf: $goods = new \app\admin\service\Goods(); goto fcjFE; i7o5J: $is_visible = 1; goto OplWk; FDt90: return AjaxReturn($res); goto ytQqy; xNZPd: $res = $goods->addGoodsSpecValueService($spec_id, $spec_value_name, $is_visible, '', $mch_id); goto FDt90; fcjFE: $spec_id = request()->post("\163\x70\x65\143\137\151\144", 0); goto XFeY0; OplWk: $mch_id = isset($this->bus_id) ? $this->bus_id : "\60"; goto xNZPd; XFeY0: $spec_value_name = request()->post("\163\x70\x65\143\x5f\x76\x61\x6c\165\x65\137\x6e\x61\155\145", ''); goto i7o5J; ytQqy: } public function goods_spec_edit() { goto W3o9j; Zm_NG: goto kBLYV; goto iko6J; G6kqW: $detail = $goods->getGoodsSpecDetail($spec_id); goto ql19U; JjOM_: $spec_name = request()->post("\163\160\145\x63\x5f\x6e\x61\x6d\145", ''); goto pONQQ; CqdCF: $cate_id = request()->post("\x63\141\164\x65\137\151\x64", ''); goto jTOvV; W3o9j: $goods = new \app\admin\service\Goods(); goto tx8MT; iko6J: fBVrz: goto fEE6O; AZ1ZS: $res = $goods_cate->getGoodsCateV1($where); goto pb0sv; F7tJy: return AjaxReturn($res); goto dYDuW; dYDuW: kBLYV: goto Rzda1; UkJha: $spec_id = request()->get("\x73\x70\x65\143\137\151\x64", ''); goto G6kqW; wk6Pe: $spec_value_str = request()->post("\x73\160\145\x63\x5f\x76\141\154\165\x65\137\163\164\x72", ''); goto CqdCF; DyQ6k: return view("\x67\157\x6f\144\163\x2f\x67\157\x6f\x64\163\137\x73\x70\x65\143\137\x65\144\151\164"); goto Zm_NG; Xj_vL: $where["\x6d\143\150\x5f\x69\144"] = $this->bus_id; goto AZ1ZS; fEE6O: $spec_id = request()->post("\x73\x70\145\x63\137\x69\x64", ''); goto JjOM_; tx8MT: $goods_cate = new GoodsCate(); goto Qthwj; jTOvV: $res = $goods->updateGoodsSpecService($spec_id, $spec_name, $is_visible, $sort, $spec_value_str, $cate_id, $this->bus_id); goto F7tJy; pb0sv: $this->assign("\162\x65\x73", $res); goto GkCFK; GkCFK: $this->assign("\151\x6e\146\x6f", $detail); goto DyQ6k; Qthwj: if (request()->isAjax()) { goto fBVrz; } goto UkJha; pONQQ: $is_visible = request()->post("\151\x73\x5f\x76\x69\x73\x69\x62\x6c\x65", ''); goto ow3TF; ql19U: $where["\154\145\x76\x65\154"] = 1; goto Xj_vL; ow3TF: $sort = request()->post("\x73\157\162\164", "\62\65\x35"); goto wk6Pe; Rzda1: } public function setGoodsSpecField() { goto j2q7L; rwIxr: $retval = $goods->modifyGoodsSpecField($spec_id, $field_name, $field_value); goto P95Ll; P95Ll: return AjaxReturn($retval); goto w_z11; xOEud: $field_name = request()->post("\156\x61\155\x65"); goto rwIxr; Sen0S: $spec_id = request()->post("\163\x70\145\x63\x5f\151\144", ''); goto CDWJn; CDWJn: $field_value = request()->post("\x76\x61\x6c\165\x65", ''); goto xOEud; j2q7L: $goods = new \app\admin\service\Goods(); goto Sen0S; w_z11: } public function setGoodsattrField() { goto Eu2zI; GqgTP: $retval = $goods->modifyGoodsattrField($attr_id, $field_name, $field_value); goto kQTgz; kQTgz: return AjaxReturn($retval); goto wYI6b; Eu2zI: $goods = new \app\admin\service\Goods(); goto Nng71; lkU_4: $field_value = request()->post("\x76\141\x6c\165\x65", ''); goto ahj1_; Nng71: $attr_id = request()->post("\x61\164\x74\x72\137\151\144", ''); goto lkU_4; ahj1_: $field_name = request()->post("\156\141\155\x65"); goto GqgTP; wYI6b: } public function setAttributeField() { goto XX0cd; kcYRU: $field_name = request()->post("\x6e\x61\155\145"); goto qoTk0; XX0cd: $goods = new \app\admin\service\Goods(); goto YPQ7U; Xgrm2: $reval = $goods->modifyAttributeFieldService($attr_id, $field_name, $field_value); goto EG0EV; YPQ7U: $attr_id = request()->post("\x69\144"); goto kcYRU; EG0EV: return AjaxReturn($reval); goto aX7M5; qoTk0: $field_value = request()->post("\166\141\154\165\145"); goto Xgrm2; aX7M5: } public function modifyGoodsSpecValueField() { goto O3Vrz; O3Vrz: $goods = new \app\admin\service\Goods(); goto y3P_e; XAnBV: $field_value = request()->post("\146\x69\x65\154\144\x5f\166\x61\x6c\165\145", ''); goto IlrfD; AC2jL: $field_name = request()->post("\146\x69\x65\x6c\x64\x5f\x6e\x61\155\x65", ''); goto XAnBV; y3P_e: $spec_value_id = request()->post("\x73\160\145\143\137\x76\141\154\165\x65\x5f\x69\144", ''); goto AC2jL; hTURX: return AjaxReturn($retval); goto TjKIC; IlrfD: $retval = $goods->modifyGoodsSpecValueField($spec_value_id, $field_name, $field_value); goto hTURX; TjKIC: } public function deleteGoodsSpecValue() { goto rHi9G; rHi9G: $goods = new \app\admin\service\Goods(); goto mNBK1; mNBK1: $spec_id = request()->post("\x73\160\x65\x63\x5f\x69\x64", 0); goto v9_2s; v9_2s: $spec_value_id = request()->post("\163\x70\x65\x63\x5f\166\x61\x6c\165\x65\x5f\x69\x64", 0); goto dIJa5; vvuVw: return AjaxReturn($res); goto GMlrY; dIJa5: $res = $goods->deleteGoodsSpecValue($spec_id, $spec_value_id); goto vvuVw; GMlrY: } public function deleteGoodsSpec() { goto QbO3e; W6dKI: return AjaxReturn($res); goto DWh69; QbO3e: $spec_id = request()->post("\x73\x70\145\x63\137\151\144", 0); goto FVao2; FVao2: $goods = new \app\admin\service\Goods(); goto TPi4q; TPi4q: $res = $goods->deleteGoodsSpec($spec_id); goto W6dKI; DWh69: } public function attributelist() { goto qYQAg; xQ51s: $this->assign("\x61\164\164\x5f\154\151\163\x74", $goodsEvaluateList); goto gVIjK; q66tV: $condition["\x61\x74\164\162\137\166\141\x6c\x75\145\x5f\x6e\x61\155\145"] = array("\154\151\x6b\145", "\45" . $search_text . "\x25"); goto UxGsw; gVIjK: $this->assign("\x70\x61\147\145", $page); goto C9qIM; C9qIM: $this->assign("\x73\145\x61\162\x63\x68\x5f\164\x65\170\164", $search_text); goto f0pi0; TKjeU: $page = $goodsEvaluateList->render(); goto xQ51s; Mdul1: $search_text = input("\160\141\x72\141\x6d\x2e\x73\x65\x61\162\143\150\x5f\x74\145\x78\x74", ''); goto q66tV; qYQAg: $goods = new \app\admin\service\Goods(); goto Mdul1; yWREq: $goodsEvaluateList = $goods->getAttributeServiceList($condition, $search_text); goto TKjeU; UxGsw: $condition["\155\143\x68\x5f\151\x64"] = array("\145\x71", $this->bus_id); goto yWREq; f0pi0: return view("\x67\x6f\157\x64\163\x2f\147\x6f\x6f\x64\163\137\x61\x74\x74\162"); goto J437V; J437V: } public function attribute_add() { goto dHO57; L_8LA: return AjaxReturn($goodsAttribute); goto Yzi6y; VWFTY: $sort = request()->post("\163\157\162\x74", ''); goto MN1Zd; Hb7zC: return view("\147\x6f\157\x64\163\57\147\157\157\144\163\x5f\x61\164\164\162\x5f\x61\x64\x64"); goto sPxxn; TlmjA: $this->assign("\x72\x65\x73", $res); goto Hb7zC; dH0Ff: $goods_cate = new GoodsCate(); goto dkf_h; x7qRp: $is_use = request()->post("\x69\x73\x5f\x76\x69\x73\x69\x62\x6c\145", ''); goto VWFTY; dHO57: if (!request()->isAjax()) { goto SJOoc; } goto A8HtM; vEtkQ: $attr_name = request()->post("\141\x74\x74\162\x5f\x6e\x61\x6d\x65", ''); goto x7qRp; dkf_h: $res = $goods_cate->getGoodsCateV1("\x6c\x65\166\x65\154\x3d\x31"); goto TlmjA; MN1Zd: $value_string = request()->post("\141\164\164\x72\137\x76\141\x6c\x75\145\x5f\x73\x74\162", ''); goto bby98; Yzi6y: SJOoc: goto dH0Ff; A8HtM: $goods = new \app\admin\service\Goods(); goto vEtkQ; Wy0O6: $mch_id = isset($this->bus_id) ? $this->bus_id : "\x30"; goto WS8eG; bby98: $cate_id = request()->post("\143\141\164\145\137\x69\144", ''); goto Wy0O6; WS8eG: $goodsAttribute = $goods->addAttributeService($attr_name, $is_use, $sort, $value_string, $cate_id, $mch_id); goto L_8LA; sPxxn: } public function goods_attr_edit() { goto QLn4P; QvgYl: $res = $goods_cate->getGoodsCateV1($where); goto HsFRT; KIc05: $this->assign("\x69\156\146\157", $attribute_detail); goto LVk6V; h3G9t: $sort = request()->post("\163\157\162\164", ''); goto AXRgR; Sc1yJ: pm_4q: goto wrlQK; AXRgR: $attr_value_str = request()->post("\141\x74\164\162\137\x76\141\154\x75\145\137\163\x74\162", ''); goto pKY3n; I3Zym: $where["\x6c\145\x76\145\154"] = 1; goto vq8Pb; Uzt2b: $is_use = request()->post("\151\x73\137\166\x69\x73\151\142\x6c\x65", ''); goto h3G9t; v2i3e: $goodsAttribute = $goods->updateAttributeService($attr_id, $attr_name, $is_use, $attr_value_str, $sort, $cate_id); goto YyS8O; vq8Pb: $where["\155\x63\150\137\151\x64"] = $this->bus_id; goto QvgYl; gpwp1: $goods_cate = new GoodsCate(); goto sSPyh; pKY3n: $cate_id = request()->post("\143\x61\164\145\x5f\x69\144", ''); goto v2i3e; QLn4P: $goods = new \app\admin\service\Goods(); goto eSuPp; wrlQK: $goods = new \app\admin\service\Goods(); goto gpwp1; yET07: $attr_name = request()->post("\141\164\164\x72\137\x6e\141\x6d\145", ''); goto Uzt2b; LVk6V: return view("\147\x6f\x6f\x64\163\57\147\x6f\x6f\x64\x73\x5f\x61\x74\164\x72\x5f\x65\144\151\164"); goto DiSl5; whywb: $attribute_detail = $goods->getAttributeServiceDetail($attr_id); goto I3Zym; xOiu5: $attr_id = request()->post("\141\x74\x74\x72\137\151\144", ''); goto yET07; HsFRT: $this->assign("\162\x65\163", $res); goto KIc05; sSPyh: $attr_id = request()->get("\x61\164\164\x72\x5f\151\144", ''); goto whywb; eSuPp: if (!request()->isAjax()) { goto pm_4q; } goto xOiu5; YyS8O: return AjaxReturn($goodsAttribute); goto Sc1yJ; DiSl5: } public function deleteAttributeValue() { goto ZafJD; wU72S: $res = $goods->deleteAttributeValueService($attr_id, $attr_value_id); goto D7zyk; ZafJD: $goods = new \app\admin\service\Goods(); goto i8lmn; D7zyk: return AjaxReturn($res); goto blxqJ; i8lmn: $attr_id = request()->post("\141\164\164\162\x5f\151\x64", 0); goto nIrxf; nIrxf: $attr_value_id = request()->post("\141\164\164\x72\x5f\x76\x61\x6c\165\x65\137\x69\x64", 0); goto wU72S; blxqJ: } public function deleteAttr() { goto ASLky; fATp3: $goods = new \app\admin\service\Goods(); goto mQZpS; d1dUN: return AjaxReturn($res); goto GlVsy; ASLky: $attr_id = request()->post("\141\x74\164\x72\137\x69\x64"); goto fATp3; mQZpS: $res = $goods->deleteAttributeService($attr_id); goto d1dUN; GlVsy: } public function attribute_but() { goto GMNdD; GMNdD: $id = input("\x70\x61\162\x61\155\56\x6f\x72\144\145\162"); goto PD49d; GMAWS: $this->assign("\157\162\144\145\x72", $id); goto p0P0r; VFxqA: if (empty($order_list)) { goto YMhBk; } goto aMm8I; NczUA: YMhBk: goto GMAWS; srohn: return view("\147\x6f\x6f\144\163\57\147\157\157\144\x73\137\141\164\164\x72\x5f\x62\x75\x74"); goto XLfR1; PD49d: $order_list = input("\x70\141\x72\x61\155\x2e\x6f\162\144\145\162\137\154\151\x73\x74"); goto VFxqA; p0P0r: $this->assign("\x6f\162\144\145\x72\137\154\151\x73\164", $order_list); goto srohn; aMm8I: $order_list = explode("\x2c", $order_list); goto NczUA; XLfR1: } public function goodsCategoryList() { goto QJS1g; yk3B8: return view("\147\x6f\x6f\144\x73\x2f\x67\x6f\157\144\x73\x5f\143\x61\x74\145\x5f\x6c\x69\163\x74"); goto OX3Qu; QJS1g: $goods_category = new GoodsCate(); goto VRT0o; VRT0o: $one_list = $goods_category->getFormatGoodsCategoryList($this->bus_id); goto wPVcj; wPVcj: $this->assign("\x63\141\164\145\x67\157\162\171\137\154\151\x73\164", $one_list); goto yk3B8; OX3Qu: } public function goods_add_cate() { goto LXfRb; zyqQx: $sort = request()->post("\x73\x6f\162\164", ''); goto D2U12; PYbn2: return view("\147\157\x6f\144\163\57\147\x6f\x6f\x64\163\137\x61\144\144\x5f\x63\x61\164\145"); goto IILqN; zw14u: if (!request()->isAjax()) { goto bbpl3; } goto ZGojQ; LXfRb: $goodscate = new GoodsCate(); goto zw14u; kSQAH: $this->assign("\143\141\164\x65\x67\157\162\171\137\154\151\163\164", $category_list); goto PYbn2; r4gqG: $category_list = $goodscate->getGoodsCategoryTree(0, $this->bus_id); goto kSQAH; QfcHO: return AjaxReturn($result); goto H9KRV; HyqoG: $short_name = request()->post("\x73\x68\x6f\x72\164\x5f\x6e\x61\x6d\x65", ''); goto vdo4s; G0jrF: $keywords = request()->post("\x6b\x65\x79\167\x6f\x72\x64\163", ''); goto K7KJS; H9KRV: bbpl3: goto r4gqG; vdo4s: $mch_id = isset($this->bus_id) ? $this->bus_id : "\x30"; goto Twr8d; Twr8d: $result = $goodscate->addOrEditGoodsCategory(0, $cate_name, $short_name, $pid, $is_visible, $keywords, $description, $sort, $cate_pic, $mch_id); goto QfcHO; D2U12: $cate_pic = request()->post("\x63\x61\x74\145\x5f\x70\151\143", ''); goto HyqoG; K7KJS: $description = request()->post("\144\x65\163\x63\162\151\x70\x74\x69\x6f\156", ''); goto zyqQx; juJPj: $pid = request()->post("\x70\x69\144", ''); goto Zfslo; Zfslo: $is_visible = request()->post("\151\163\x5f\166\x69\x73\151\142\154\145", ''); goto G0jrF; ZGojQ: $cate_name = request()->post("\x63\x61\x74\x65\137\156\x61\155\x65", ''); goto juJPj; IILqN: } public function updateGoodsCate() { goto GyAWf; Fs3s1: UQ7rS: goto tkg1z; ZoDr6: foreach ($category_list as $k => $v) { goto dvxNV; BDNim: oh06o: goto z84FQ; I1YYw: FbrSB: goto lMALk; lMALk: goto Oiajn; goto fYRu9; q9_3H: sort($temp_array); goto emWPC; HLSnx: Oiajn: goto BDNim; Y54qn: if (!isset($v["\143\x68\151\154\x64\137\x6c\x69\x73\x74"])) { goto FbrSB; } goto Fla9n; jHIsz: gCRHq: goto q9_3H; fYRu9: HNxSE: goto qnRfs; dvxNV: if ($v["\x63\x61\164\145\137\x69\x64"] == $category_id && $category_id !== 0) { goto HNxSE; } goto Y54qn; Fla9n: $temp_array = $v["\x63\x68\151\x6c\x64\137\x6c\151\x73\x74"]; goto zsZVH; qnRfs: unset($category_list[$k]); goto HLSnx; zsZVH: foreach ($temp_array as $t => $m) { goto xh7q2; T2QDP: JUSD6: goto t1vrC; Xnf_Q: unset($temp_array[$t]); goto uBTDb; xh7q2: if (!($m["\x63\x61\164\145\x5f\151\x64"] == $category_id && $category_id !== 0)) { goto UiNSg; } goto Xnf_Q; uBTDb: UiNSg: goto T2QDP; t1vrC: } goto jHIsz; emWPC: $category_list[$k]["\143\x68\151\x6c\x64\137\154\151\163\x74"] = $temp_array; goto I1YYw; z84FQ: } goto Iqew2; GGu8U: $cate_name = request()->post("\143\x61\x74\145\x5f\x6e\x61\155\x65", ''); goto RJGfG; YgLYw: zYhPn: goto s0qRa; dWSk4: $this->assign("\144\141\x74\141", $result); goto cmBq4; WBSgw: rO0b5: goto aomf0; GyAWf: $goodscate = new GoodsCate(); goto pqMa0; k1WuG: EpBuf: goto dl5wy; O67kA: $category_list = $goodscate->getGoodsCategoryListByParentId(0, $mch_id); goto ZVFvA; FTLfc: goto LmGLi; goto Fs3s1; s0qRa: $category_list = $goodscate->getGoodsCategoryTree(0, $mch_id); goto dfm7B; wtMfG: mRBKs: goto OYVFu; XK_jy: $sort = request()->post("\163\x6f\x72\x74", ''); goto IcO9T; m9c19: $is_have = false; goto nRown; OYVFu: goto rQGAW; goto ZDpIq; P2khY: $category_list = $goodscate->getGoodsCategoryListByParentId(0, $mch_id); goto SrJfR; sYn64: return view("\x67\x6f\x6f\144\x73\x2f\147\x6f\157\x64\x73\137\143\141\164\145\137\x65\144\151\x74"); goto ZrNR0; kDQJN: if ($result["\154\x65\x76\145\154"] == 3) { goto zYhPn; } goto FTLfc; wSHa0: if ($result["\154\x65\166\145\x6c"] == 2) { goto D4gr5; } goto kDQJN; fkJwu: $result = $goodscate->getGoodsCategoryDetail($category_id); goto dWSk4; aomf0: goto LmGLi; goto YgLYw; NvFXV: $category_id = request()->get("\143\141\164\145\137\151\x64", ''); goto fkJwu; Xgwaq: $cate_id = request()->post("\143\x61\x74\145\x5f\151\144", ''); goto GGu8U; pqMa0: $mch_id = isset($this->bus_id) ? $this->bus_id : "\60"; goto fCxCz; fVJGT: $this->assign("\x63\x61\x74\145\x67\x6f\x72\x79\137\x6c\151\163\x74", $category_list); goto sYn64; dfm7B: LmGLi: goto X3zhv; jh6u9: $result = $goodscate->addOrEditGoodsCategory($cate_id, $cate_name, $short_name, $pid, $is_visible, $keywords, $description, $sort, $cate_pic, $mch_id); goto MTnOU; ubIJX: $pid = request()->post("\160\x69\144", ''); goto uG1NJ; Zr54r: if ($is_have) { goto EpBuf; } goto O67kA; iMFou: $category_list = $goodscate->getGoodsCategoryTree(0, $mch_id); goto WBSgw; SrJfR: goto rO0b5; goto SNdjb; Mbs4i: if (empty($chile_list)) { goto jKS9P; } goto m9c19; Iqew2: OV2XM: goto lAm9W; SNdjb: K5Nmp: goto iMFou; n_EIp: d9u1Y: goto fVJGT; LOv_j: $category_list = $goodscate->getGoodsCategoryTree(0, $mch_id); goto cNud1; dl5wy: $category_list = array(); goto wtMfG; ZVFvA: goto mRBKs; goto k1WuG; MTnOU: return AjaxReturn($result); goto FYIw7; kwbb9: D4gr5: goto W5plP; PFf5Y: IwJZo: goto Zr54r; FYIw7: T7NW8: goto NvFXV; uG1NJ: $is_visible = request()->post("\151\x73\137\166\151\x73\x69\142\154\x65", ''); goto GwpcY; o8ekz: goto LmGLi; goto kwbb9; Wn4Iu: if (empty($chile_list)) { goto K5Nmp; } goto P2khY; cNud1: rQGAW: goto o8ekz; W5plP: $chile_list = $goodscate->getGoodsCategoryListByParentId($category_id, $mch_id); goto Wn4Iu; X3zhv: if (empty($category_list)) { goto d9u1Y; } goto ZoDr6; nRown: foreach ($chile_list as $k => $v) { goto Qpac_; VJY_w: rfuZ5: goto GhOzY; Qpac_: if (!($v["\154\x65\x76\x65\x6c"] == 3)) { goto Zoa2v; } goto YUX6D; YUX6D: $is_have = true; goto D3FQW; D3FQW: Zoa2v: goto VJY_w; GhOzY: } goto PFf5Y; RJGfG: $short_name = request()->post("\163\x68\157\162\164\137\x6e\x61\x6d\x65", ''); goto ubIJX; lAm9W: sort($category_list); goto n_EIp; XSnGK: $description = request()->post("\x64\145\x73\143\162\x69\160\x74\x69\x6f\156", ''); goto XK_jy; fCxCz: if (!request()->isAjax()) { goto T7NW8; } goto Xgwaq; IcO9T: $cate_pic = request()->post("\x63\141\164\145\137\x70\x69\x63", ''); goto jh6u9; ZDpIq: jKS9P: goto LOv_j; cmBq4: if ($result["\x6c\145\x76\145\x6c"] == 1) { goto UQ7rS; } goto wSHa0; tkg1z: $chile_list = $goodscate->getGoodsCategoryTree($category_id, $mch_id); goto Mbs4i; GwpcY: $keywords = request()->post("\x6b\145\171\167\x6f\x72\144\x73", ''); goto XSnGK; ZrNR0: } public function modifyGoodsCategoryField() { goto WBL11; C2wFl: $fieldid = request()->post("\x66\151\145\x6c\x64\151\x64", ''); goto TYFXV; TYFXV: $fieldname = request()->post("\146\151\145\x6c\x64\156\x61\x6d\145", ''); goto LL5YL; WBL11: $goodscate = new GoodsCate(); goto C2wFl; LL5YL: $fieldvalue = request()->post("\146\151\x65\154\x64\x76\x61\x6c\165\x65", ''); goto DxbH9; KkIRb: return $res; goto KDkQy; DxbH9: $res = $goodscate->ModifyGoodsCategoryField($fieldid, $fieldname, $fieldvalue); goto KkIRb; KDkQy: } public function deleteGoodsCategory() { goto u3Pdc; kDLGR: return AjaxReturn($res); goto YZq0A; dgVSs: $mch_id = isset($this->bus_id) ? $this->bus_id : "\60"; goto X7k4_; wQKpG: $res = $goodscate->deleteGoodsCategory($cate_id, $mch_id); goto kDLGR; u3Pdc: $goodscate = new GoodsCate(); goto dgVSs; X7k4_: $cate_id = request()->post("\x63\141\x74\x65\x5f\x69\x64", ''); goto wQKpG; YZq0A: } public function deleteGoods() { goto vDPUd; vDPUd: $goods_ids = request()->post("\x67\x6f\157\x64\163\137\151\x64\x73"); goto aHjC9; zfad4: return AjaxReturn($retval); goto S9AAw; HQbAV: $retval = $goodservice->deleteGoods($goods_ids); goto zfad4; aHjC9: $goodservice = new \app\admin\service\Goods(); goto HQbAV; S9AAw: } public function goodslist() { goto FaHET; v9hWY: $this->assign("\160\x61\x67\x65", $page); goto h9116; s41A1: $star = strtotime($star_time); goto mlt5p; mlt5p: $where["\x6e\x67\56\143\162\x65\141\x74\145\x5f\164\151\155\x65"] = ["\x62\145\x74\167\x65\145\x6e", [$star, $star + 86400]]; goto o8dMq; k9v6n: $this->assign("\x65\156\144\x5f\x74\151\155\145", $end_time); goto d6NP2; wSrfs: $where["\x6e\147\56\x69\163\x5f\144\x65\154"] = array("\74\x3e", "\61"); goto LV_8p; rFD4q: $where["\x6e\x67\56\x63\141\x74\x65\137\x69\x64"] = array("\145\161", $cate_id); goto kiqrw; SDjrC: if (!($status == 1)) { goto bQ14e; } goto tbN30; h9116: $this->assign("\x63\x61\164\145\x5f\x69\144", $cate_id); goto KLygh; iAAGa: $where["\156\147\56\163\x74\x6f\x63\153"] = ["\x65\161", "\x30"]; goto wJboG; gM4rU: $this->assign("\163\145\x61\162\x63\150\137\164\145\x78\164", $search_text); goto Bv8U3; XrQXO: $where["\x6e\x67\x2e\x67\157\x6f\144\163\137\156\x61\x6d\x65"] = ["\x6c\151\x6b\x65", "\x25" . $search_text . "\45"]; goto WTgZE; ySTc8: $this->assign("\x67\157\x6f\x64\x73\x5f\143\141\x74\145", $goods_cate); goto Exzs1; c6j_p: $search_text = input("\x70\141\x72\141\x6d\x2e\163\x65\x61\162\143\x68\x5f\x74\145\x78\164"); goto IEtlF; zWJRs: $goods_cate = Db::name("\x79\x62\163\x63\137\x67\157\x6f\x64\x73\x5f\143\141\x74\x65")->where("\x69\x73\137\166\151\163\x69\x62\x6c\x65\75\61")->where("\155\x63\150\x5f\151\144", $this->bus_id)->select(); goto ySTc8; LV_8p: $where["\x6e\x67\56\155\x63\150\x5f\x69\144"] = array("\145\x71", $this->bus_id); goto R3iE3; WHM6E: fJ7aR: goto foYzM; REPOc: FPfcp: goto wSrfs; LmeRv: if (empty($search_text)) { goto JhuRl; } goto XrQXO; ffw5p: bQ14e: goto QMG78; vs8aU: $where["\x6e\147\x2e\143\162\145\x61\164\x65\x5f\164\x69\155\x65"] = ["\142\145\x74\x77\x65\145\156", [$star, $end]]; goto REPOc; kiqrw: MzSE6: goto Twf1D; jh8Kk: return self::goodsDelList(); goto WHM6E; tbN30: $where["\x6e\x67\56\x73\x74\141\164\x65"] = ["\145\161", "\x31"]; goto ffw5p; KLygh: $this->assign("\x72\145\x73\x75\154\x74", $result); goto gM4rU; u4pwf: gEw02: goto jh8Kk; FpC_x: $where = []; goto SDjrC; QIzFo: $end = strtotime($end_time); goto vs8aU; BmMVi: if (!(!empty($star_time) && !empty($end_time))) { goto FPfcp; } goto WD0Jq; BMYSQ: $end_time = input("\160\x61\x72\x61\x6d\56\x65\x6e\x64\137\164\151\x6d\x65"); goto h0Cu2; OGoLB: goto fJ7aR; goto u4pwf; T1B87: if ($status == 4) { goto gEw02; } goto LmeRv; MzA44: A6wm8: goto a2ufQ; p3aST: if (!(!empty($cate_id) || $cate_id != 0)) { goto MzSE6; } goto rFD4q; IEtlF: $status = input("\160\141\x72\141\x6d\x2e\x73\164\x61\x74\165\x73"); goto FpC_x; Exzs1: return view("\147\x6f\x6f\x64\163\x2f\x67\157\157\x64\163\x5f\x6c\x69\163\164"); goto OGoLB; WD0Jq: $star = strtotime($star_time); goto QIzFo; h0Cu2: if (empty($star_time)) { goto PhoFI; } goto s41A1; d6NP2: $this->assign("\x73\x74\141\x74\165\x73", $status); goto zWJRs; QMG78: if (!($status == 2)) { goto A6wm8; } goto yy2SA; R3iE3: $cate_id = input("\x70\141\162\141\x6d\x2e\x67\157\157\144\x73\137\143\141\164\145"); goto p3aST; Twf1D: $result = $goodservice->getGoodsList($where); goto kfItV; Bv8U3: $this->assign("\163\164\x61\x72\x5f\x74\151\x6d\x65", $star_time); goto k9v6n; wJboG: QEbid: goto T1B87; a2ufQ: if (!($status == 3)) { goto QEbid; } goto iAAGa; FaHET: $goodservice = new \app\admin\service\Goods(); goto c6j_p; yy2SA: $where["\x6e\147\x2e\x73\164\141\x74\145"] = ["\151\156", "\60\54\61\x30"]; goto MzA44; o8dMq: PhoFI: goto BmMVi; WTgZE: JhuRl: goto Nk2Z4; kfItV: $page = $result->render(); goto v9hWY; Nk2Z4: $star_time = input("\160\141\162\x61\155\x2e\x73\164\141\162\x5f\x74\x69\155\145"); goto BMYSQ; foYzM: } public function ModifyGoodsSort() { goto ip2XQ; mISox: return AjaxReturn($res); goto d2zON; eX1b7: $sort = request()->post("\163\x6f\162\164", "\60"); goto z4Z38; z4Z38: $res = Db::name("\171\x62\x73\143\137\x67\157\157\144\x73")->where(["\x67\x6f\x6f\x64\163\x5f\x69\144" => $goods_id])->update(["\x73\157\x72\164" => $sort]); goto xBb2d; xBb2d: $res = $res !== false ? 1 : 0; goto mISox; ip2XQ: $goods_id = request()->post("\151\x64", ''); goto eX1b7; d2zON: } public function ModifyGoodsOnline() { goto aGLc3; BXcpb: return AjaxReturn($result); goto RfUk7; aGLc3: $condition = request()->post("\147\157\x6f\144\163\137\151\x64\163", ''); goto EZgg_; GarQ3: $result = $goods_detail->ModifyGoodsOnline($condition); goto BXcpb; EZgg_: $goods_detail = new \app\admin\service\Goods(); goto GarQ3; RfUk7: } public function ModifyGoodsOffline() { goto fLeUG; pg8fk: return AjaxReturn($result); goto pg1ny; qCZxd: $goods_detail = new \app\admin\service\Goods(); goto E4B7O; E4B7O: $result = $goods_detail->ModifyGoodsOffline($condition); goto pg8fk; fLeUG: $condition = request()->post("\147\x6f\x6f\x64\163\x5f\151\144\163", ''); goto qCZxd; pg1ny: } public function add_goods() { goto onGkL; H2ga5: $this->assign("\x67\x6f\157\x64\163\151\x64", $goodsId); goto ekz9B; tZZp7: SVq4z: goto iByaU; RbHeB: $this->assign("\x65\x78\160\162\x65\163\x73\103\x6f\x6d\x70\141\156\x79", $expressCompanyList); goto FseBX; qaoW8: $groupList = $goods_group->getGoodsGroupList($condition); goto u63DK; FseBX: $this->assign("\x65\x78\160\x72\145\163\x73\103\157\x6d\160\141\156\171\x5f\x6e\165\x6d", count($expressCompanyList)); goto ZDqRJ; XsR5x: $mch_id = isset($this->bus_id) ? $this->bus_id : "\60"; goto QrinR; ypUL3: $goods_info["\147\x6f\x6f\x64\163\137\141\164\x74\x72\151\142\x75\x74\145\x5f\x6c\151\163\x74"] = json_encode($goods_info["\147\x6f\157\x64\x73\137\x61\164\x74\x72\x69\x62\165\x74\145\137\154\151\163\164"]); goto mUP4r; clyEF: $goodsbrand = new \app\admin\service\GoodsBrand(); goto dQBRc; UOOyn: $sku_picture_array_str = ''; goto p0Mfw; GxNgA: return view("\147\x6f\x6f\144\163\57\x67\x6f\x6f\144\x73\137\x65\x64\151\164\137\154\x69\x62"); goto A69ED; wcSV4: Doc0t: goto lvQPg; CRLqv: $goods = new \app\admin\service\Goods(); goto VPRgQ; HDwMw: $goods_spec_array = json_decode($goods_info["\147\157\x6f\x64\x73\137\163\x70\145\x63\x5f\146\157\x72\155\x61\164"], true); goto koFw9; ZNVz7: qjOW2: goto yAn6B; BIwIE: $goods_info = $goods->getGoodsDetail($goodsId); goto IPcSZ; lnkJ4: goto LB1Jg; goto aBNxk; Jv2fU: $area_province = $area->getAreaList(); goto CbvDx; VPRgQ: $express = new \app\admin\service\Express(); goto ScWcn; x2_o8: $this->assign("\147\x72\x6f\165\x70\x5f\x73\164\162", json_encode($groupList)); goto KeOB8; ScWcn: $area = new Area(); goto XsR5x; W8s18: $this->assign("\x67\x6f\x6f\144\163\137\141\164\164\162\x5f\x69\144", 0); goto YeRUM; neOJI: foreach ($goods_spec_array as $k => $v) { goto LP3fX; TdMqw: UuANG: goto VFnOd; LP3fX: foreach ($v["\x76\x61\154\165\x65"] as $t => $m) { goto pvQKs; p1Cnd: VpoPx: goto oVg3r; d1P9d: J_cis: goto Pkb9J; Pkb9J: fvCCP: goto dvSwg; dvSwg: V7No5: goto fSe2W; XT8oK: $goods_spec_array[$k]["\166\141\x6c\x75\x65"][$t]["\163\160\145\x63\x5f\166\x61\x6c\165\x65\x5f\144\141\x74\141\x5f\163\162\143"] = $m["\x73\x70\145\143\137\x76\141\154\165\145\137\144\141\x74\141"]; goto p1Cnd; qjKf9: EWssL: goto ZKFrO; ZKFrO: $picture_detail = $album->getAlubmPictureDetail(["\x70\x69\x63\137\151\144" => $m["\163\x70\145\x63\137\166\x61\154\165\145\137\144\141\164\x61"]]); goto ntTRx; pvQKs: if (is_numeric($m["\163\160\x65\143\x5f\166\141\x6c\165\x65\x5f\x64\141\164\x61"]) && $m["\163\x70\145\143\x5f\163\150\x6f\x77\x5f\164\171\160\x65"] == 3) { goto EWssL; } goto dT7AY; dT7AY: if (!(!is_numeric($m["\x73\160\x65\143\137\166\x61\154\165\145\137\x64\x61\x74\141"]) && $m["\163\x70\145\143\x5f\163\150\157\167\x5f\164\171\x70\x65"] == 3)) { goto VpoPx; } goto XT8oK; c7o7E: $goods_spec_array[$k]["\x76\141\154\x75\145"][$t]["\x73\x70\145\x63\137\x76\141\154\x75\x65\x5f\144\x61\164\141\137\163\x72\x63"] = $picture_detail["\x70\151\x63\x5f\143\157\x76\x65\162"]; goto d1P9d; ntTRx: if (empty($picture_detail)) { goto J_cis; } goto c7o7E; oVg3r: goto fvCCP; goto qjKf9; fSe2W: } goto zuz5J; zuz5J: bZivT: goto TdMqw; VFnOd: } goto C2w3U; tT1wr: if ($goodsId > 0 && $this_lib == 0) { goto fy65G; } goto W8s18; onGkL: $goods_group = new GoodsCate(); goto clyEF; KovjA: $sku_picture_array_str = ''; goto E937s; pBomO: $album = new Images(); goto BdJIb; V1kWF: $this->assign("\147\x6f\x6f\144\x73\137\x69\156\146\157", $goods_info); goto ACb1l; Og0a4: $goods_spec_format = json_encode($goods_spec_array, JSON_UNESCAPED_UNICODE); goto kylGm; P2xnf: $this->assign("\x64\145\164\x61\165\x6c\x74\x5f\141\154\x62\x75\155\137\151\144", $detault_album_detail["\147\162\x6f\x75\160\137\x69\x64"]); goto PqIox; T_I2Q: $this->assign("\147\x6f\157\144\x73\x5f\151\156\x66\157", $goods_info); goto o95Py; dWbVy: $this->assign("\x73\165\160\x70\x6c\x69\145\x72\x5f\154\x69\x73\x74", $supplier_list); goto Jv2fU; Wd30g: LB1Jg: goto bCcnd; YDmss: $this->assign("\147\x6f\157\144\163\142\162\141\x6e\x64\137\x6c\151\x73\x74", $goodsbrandList); goto Sg_Uk; yAn6B: $goods_info["\x64\145\163\143\162\151\160\164\151\x6f\x6e"] = str_replace(PHP_EOL, '', $goods_info["\144\x65\x73\x63\x72\151\x70\x74\151\x6f\x6e"]); goto rjb0b; kXwET: $sku_picture_array_str = json_encode($goods_info["\163\153\165\x5f\x70\x69\143\x74\x75\x72\x65\x5f\141\162\x72\141\171"]); goto tZZp7; aBNxk: fy65G: goto kszE4; RHlEy: $goods_info["\x69\155\147\x5f\154\151\x73\x74"] = json_encode($goods_info["\x69\x6d\x67\x5f\154\151\163\x74"]); goto MoCBJ; BdJIb: $goods_spec_array = json_decode($goods_info["\x67\157\x6f\x64\x73\137\x73\x70\x65\x63\x5f\146\157\x72\x6d\x61\x74"], true); goto neOJI; IPcSZ: $goods_info["\x73\x6b\165\137\x6c\x69\163\164"] = json_encode($goods_info["\x73\x6b\x75\x5f\154\x69\x73\x74"]); goto RHlEy; Vhe2O: $this->assign("\x74\150\x69\163\x5f\x6d\143\150\x5f\x67\157\157\x64\x5f\x63\x61\164\x65", $this_mch_good_cate); goto HycZA; KLiZX: return view("\x67\x6f\x6f\x64\x73\x2f\x67\157\157\x64\163\x5f\145\x64\x69\x74"); goto Wd30g; rjb0b: $cate_v1_id = $goods_group->InfiniteCate($goods_info["\143\x61\x74\145\x5f\151\144"]); goto US4ii; p0Mfw: goto SVq4z; goto yK223; YEAcP: $expressCompanyList = Db::name("\x79\142\x73\143\x5f\x65\x78\x70\162\145\x73\x73\137\x72\165\154\145\163")->where("\155\143\150\137\151\x64", $this->bus_id)->where("\151\163\137\x64\145\x6c", 1)->field("\151\144\54\164\x79\x70\x65\137\146\145\x65\x2c\156\x61\155\x65")->order("\144\x65\x66\141\165\154\164", "\144\145\x73\x63")->select(); goto RbHeB; Wj7C0: CnzjC: goto ukRx_; itS7E: $this->assign("\147\157\x6f\x64\163\x5f\x69\x64", $goodsId); goto qIp0h; ncq4p: $goods_info["\163\x6b\165\137\154\x69\x73\x74"] = json_encode($goods_info["\x73\x6b\x75\x5f\x6c\151\163\x74"]); goto tSJgO; ZDqRJ: $goods_attribute_list = $goods->getAttributeModServiceList($condition); goto WcGnD; rNRgc: $goods_info["\144\145\163\143\162\151\160\x74\151\x6f\x6e"] = str_replace(PHP_EOL, '', $goods_info["\x64\x65\x73\x63\x72\151\160\164\151\157\156"]); goto CQn5J; dQBRc: $supplier = new Supplier(); goto CRLqv; qIp0h: $this->assign("\163\x68\x6f\x70\137\164\x79\160\x65", 2); goto R6AFW; QrinR: $condition["\x6d\x63\150\x5f\151\144"] = array("\145\x71", $mch_id); goto EHEhC; G1hRi: $goods_info = $goods->getGoodsDetail($goodsId); goto ncq4p; hhm4f: $goods_info["\147\157\157\x64\x73\x5f\163\160\145\x63\137\146\157\162\x6d\141\164"] = $goods_spec_format; goto h4lZo; kszE4: $this->assign("\x67\x6f\x6f\x64\163\151\x64", $goodsId); goto G1hRi; iNN5_: $this->assign("\143\141\164\x65\x5f\166\61\137\151\x64", $cate_v1_id); goto V1kWF; qcEFr: $supplier_list = $supplier->getSupplierList($condition); goto dWbVy; koFw9: foreach ($goods_spec_array as $k => $v) { goto doCnz; doCnz: foreach ($v["\166\141\x6c\165\x65"] as $t => $m) { goto Zj6_0; EHQi2: $goods_spec_array[$k]["\166\x61\x6c\165\x65"][$t]["\163\160\145\x63\x5f\x76\141\x6c\165\x65\137\x64\x61\x74\x61\x5f\163\162\x63"] = $m["\x73\x70\x65\143\137\166\x61\x6c\x75\145\x5f\x64\141\164\x61"]; goto P1JQP; bpAKO: q8vuu: goto nAyEz; pfcSJ: if (!(!is_numeric($m["\x73\160\145\x63\x5f\x76\x61\154\165\145\137\144\x61\x74\141"]) && $m["\x73\x70\145\x63\137\x73\x68\157\167\137\x74\171\x70\145"] == 3)) { goto H0Dd1; } goto EHQi2; xqmKJ: YC3yM: goto OnYFO; P1JQP: H0Dd1: goto yysdg; yysdg: goto aHB04; goto bpAKO; nAyEz: $picture_detail = $album->getAlubmPictureDetail(["\x70\x69\143\x5f\x69\x64" => $m["\x73\160\145\143\x5f\166\x61\x6c\x75\x65\137\x64\x61\x74\141"]]); goto z2u6T; fPOVo: aHB04: goto xqmKJ; z2u6T: if (empty($picture_detail)) { goto tYVQD; } goto vqLdk; RXcxO: tYVQD: goto fPOVo; vqLdk: $goods_spec_array[$k]["\166\141\154\x75\x65"][$t]["\x73\x70\x65\143\137\x76\x61\154\x75\145\137\144\141\164\x61\x5f\163\x72\x63"] = $picture_detail["\x70\151\143\x5f\x63\157\166\x65\x72"]; goto RXcxO; Zj6_0: if (is_numeric($m["\x73\160\x65\x63\x5f\166\x61\154\165\x65\137\x64\141\164\141"]) && $m["\x73\160\x65\143\137\163\150\x6f\167\x5f\164\171\x70\145"] == 3) { goto q8vuu; } goto pfcSJ; OnYFO: } goto Nrg0U; Nrg0U: tfdNd: goto pRZ27; pRZ27: Vg0zM: goto L94c3; L94c3: } goto XFYsV; ZPRyi: $goodsbrandList = $goodsbrand->getGoodsBrandAll($condition); goto YDmss; R6AFW: $album = new Images(); goto tuGDn; C2w3U: jZN60: goto Og0a4; tSJgO: $goods_info["\x69\155\x67\137\x6c\151\x73\164"] = json_encode($goods_info["\151\155\147\x5f\154\151\163\164"]); goto ypUL3; MoCBJ: $goods_info["\x67\x6f\x6f\144\163\x5f\141\164\x74\x72\151\142\165\164\x65\137\154\x69\x73\x74"] = json_encode($goods_info["\x67\x6f\157\144\x73\x5f\141\x74\164\162\151\x62\x75\164\x65\x5f\x6c\151\163\x74"]); goto vKjiX; UOSTl: $sku_picture_array_str = json_encode($goods_info["\163\x6b\165\137\160\151\143\x74\165\162\145\137\x61\162\162\141\x79"]); goto wcSV4; tZb4t: jWDGf: goto itS7E; hzqBS: if (!empty($goods_info["\163\x6b\165\137\x70\x69\143\x74\165\162\x65\137\141\x72\x72\x61\x79"])) { goto WiDWv; } goto KovjA; yK223: f3RXR: goto kXwET; YeRUM: $this_mch_good_cate = Db::name("\171\142\x73\x63\x5f\x67\x6f\x6f\144\x73\137\143\141\164\145")->where("\x6d\x63\x68\x5f\x69\144", $mch_id)->order("\x63\x72\145\141\x74\145\x5f\164\x69\155\145\40\x61\x73\143")->find(); goto Vhe2O; ekz9B: $this->assign("\164\150\x69\x73\137\154\x69\142", $this_lib); goto BIwIE; ceoPz: WiDWv: goto UOSTl; A69ED: z2tBR: goto tT1wr; US4ii: $this->assign("\143\x61\x74\x65\x5f\166\x31\137\x69\x64", $cate_v1_id); goto T_I2Q; Sg_Uk: $goodsId = request()->get("\147\x6f\x6f\x64\163\111\144", 0); goto qaoW8; o95Py: $this->assign("\147\157\157\x64\x73\x5f\141\164\164\162\x5f\x69\144", $goods_info["\147\x6f\x6f\x64\x73\137\x61\x74\x74\162\x69\x62\x75\x74\x65\137\x69\144"]); goto rO68o; kylGm: $goods_info["\147\157\x6f\144\163\x5f\163\x70\145\143\x5f\x66\157\x72\x6d\141\x74"] = $goods_spec_format; goto ZNVz7; CQn5J: $cate_v1_id = $goods_group->InfiniteCate($goods_info["\143\141\x74\145\137\x69\x64"]); goto iNN5_; WcGnD: $this->assign("\x67\157\157\144\x73\137\141\164\x74\162\x69\142\x75\164\145\137\x6c\151\163\x74", $goods_attribute_list); goto TAD0g; EHEhC: $this_lib = request()->get("\164\150\x69\163\x5f\154\x69\x62", 0); goto ZPRyi; rO68o: if (!empty($goods_info["\163\x6b\x75\x5f\x70\x69\x63\x74\x75\162\145\137\141\162\x72\141\x79"])) { goto f3RXR; } goto UOOyn; ukRx_: $this->assign("\147\162\x6f\165\160\x5f\x73\164\x72", ''); goto tZb4t; iByaU: $this->assign("\163\x6b\165\x5f\160\151\143\164\165\x72\145\137\x61\x72\x72\141\x79\x5f\163\x74\x72", $sku_picture_array_str); goto GxNgA; h4lZo: pE8vL: goto rNRgc; ACb1l: $this->assign("\147\x6f\x6f\x64\163\x5f\x61\164\x74\162\137\x69\144", $goods_info["\x67\x6f\157\144\x73\137\x61\x74\164\162\x69\x62\x75\164\x65\x5f\x69\144"]); goto hzqBS; tuGDn: $detault_album_detail = $album->getDefaultAlbumDetail(); goto P2xnf; vKjiX: if (!(trim($goods_info["\147\157\157\x64\163\137\163\160\145\143\x5f\146\x6f\162\x6d\141\164"]) != '')) { goto qjOW2; } goto pBomO; lvQPg: $this->assign("\x73\153\165\x5f\x70\x69\143\164\165\162\145\x5f\x61\x72\x72\x61\x79\137\x73\x74\162", $sku_picture_array_str); goto KLiZX; XFYsV: TlqFR: goto hEEa_; PqIox: if (!($goodsId > 0 && $this_lib == 1)) { goto z2tBR; } goto H2ga5; mUP4r: if (!(trim($goods_info["\x67\x6f\157\x64\x73\x5f\x73\160\145\x63\x5f\x66\x6f\162\155\x61\164"]) != '')) { goto pE8vL; } goto dcTzA; dcTzA: $album = new Images(); goto HDwMw; HycZA: return view("\147\x6f\x6f\144\163\x2f\x67\157\x6f\144\x73\x5f\x61\144\144"); goto lnkJ4; u63DK: $this->assign("\x67\162\x6f\165\160\137\x6c\x69\163\164", $groupList); goto qcEFr; E937s: goto Doc0t; goto ceoPz; TAD0g: if (empty($groupList)) { goto CnzjC; } goto x2_o8; hEEa_: $goods_spec_format = json_encode($goods_spec_array, JSON_UNESCAPED_UNICODE); goto hhm4f; KeOB8: goto jWDGf; goto Wj7C0; CbvDx: $this->assign("\141\162\x65\x61\x5f\160\x72\157\x76\151\156\143\145", $area_province); goto YEAcP; bCcnd: } public function getGoodsSpecListByAttrId() { goto U0WWp; U0WWp: $goods = new \app\admin\service\Goods(); goto LGHG0; oUlG4: return $list; goto bMd7w; udN9Q: $condition["\x6d\143\150\x5f\151\x64"] = array("\145\x71", $this->bus_id); goto cOhCr; cOhCr: $list = $goods->getGoodsAttrSpecQuery($condition); goto oUlG4; LGHG0: $condition["\x61\164\164\162\137\x69\144"] = request()->post("\x61\x74\164\162\137\151\144", 0); goto udN9Q; bMd7w: } public function getGoodsAttrListByAttrId() { goto J9rYY; GnE7u: $list = $goods->getAttributeServiceDetail($attr_id); goto k8FAS; J9rYY: $goods = new \app\admin\service\Goods(); goto n6euG; k8FAS: return $list; goto hBWqI; n6euG: $attr_id = request()->post("\x61\164\164\162\x5f\151\144", 0); goto GnE7u; hBWqI: } public function CateGoryPropvaluesGet() { goto rD1cx; QdFn0: return $res; goto VOvRl; pYLPs: $res = $goodservice->addGoodsSpecValue($propId, $value); goto QdFn0; KVAPI: $goodservice = new \app\admin\service\Goods(); goto pYLPs; x6TSe: $value = request()->post("\166\x61\154\165\145", ''); goto KVAPI; rD1cx: $propId = request()->post("\x70\162\x6f\x70\x49\144", ''); goto x6TSe; VOvRl: } public function controlDialogSku() { goto s_0Y1; eztdD: return view("\147\157\x6f\x64\x73\x2f\147\157\x6f\144\163\137\104\151\141\154\x6f\x67\x53\153\x75"); goto IgISY; vKHrO: $this->assign("\x61\x74\164\162\137\x69\144", $attr_id); goto eztdD; s_0Y1: $attr_id = request()->get("\141\x74\164\162\x5f\x69\x64", 0); goto vKHrO; IgISY: } public function goods_cate() { goto vc9cZ; dlCbx: if (empty($data["\160\151\x64"])) { goto aqHIS; } goto zTrDg; Ri8Mq: $groupList = $goods_cate->where($where)->where("\x6c\145\x76\x65\x6c", $data["\x6c\x65\166\145\154"])->select(); goto uQIyO; uQIyO: $a = json_encode($groupList, true); goto A0QG5; COOuW: if (!request()->isAjax()) { goto nf0k1; } goto jEeIb; ITNbN: return view("\147\x6f\157\144\163\x2f\147\157\x6f\144\x73\x5f\143\141\x74\145"); goto GrHtA; A0QG5: return $a; goto eMuEa; vB4BA: $where = []; goto EeeqF; EeeqF: $where["\155\x63\x68\137\151\144"] = ["\145\161", $mch_id]; goto hjXa_; vc9cZ: $mch_id = isset($this->bus_id) ? $this->bus_id : "\60"; goto COOuW; jEeIb: $data = input("\x70\141\x72\141\x6d\x2e"); goto vB4BA; hjXa_: $where["\151\x73\x5f\166\151\163\151\142\x6c\x65"] = ["\145\161", 1]; goto dlCbx; eMuEa: nf0k1: goto ITNbN; EOa9g: $goods_cate = new \app\common\model\GoodsCate(); goto Ri8Mq; kgzSZ: aqHIS: goto EOa9g; zTrDg: $where["\x70\x69\x64"] = ["\x65\x71", $data["\x70\x69\144"]]; goto kgzSZ; GrHtA: } public function GoodsCreateOrUpdate() { goto Xds17; JPMO7: if ($product["\x67\157\157\144\x73\111\x64"] == 0) { goto p0cWy; } goto d9LiZ; T48V3: $product["\x67\157\x6f\144\x73\111\x64"] = 0; goto w3LYp; Dgpao: return $res; goto F5D2R; zG2EX: t5aKg: goto CeXj7; dInGt: uJTzn: goto YQBKc; Xds17: $res = 0; goto IbIan; pY5_b: if (empty($product)) { goto RMSzh; } goto Izs_9; sOc29: Db::name("\171\x62\x73\x63\x5f\x67\x6f\x6f\144\x73\x5f\141\x74\x74\162")->where("\147\x6f\157\x64\x73\137\151\144", $data["\147\157\x6f\x64\163\137\x69\144"])->delete(); goto ww0t1; gTlSv: $product["\x62\162\141\x6e\x64\x49\x64"] = empty($product["\142\162\141\156\144\x49\x64"]) ? 0 : $product["\x62\x72\x61\156\x64\111\x64"]; goto BF_Sc; Q7qck: if (empty($attr_value_id)) { goto uJTzn; } goto lVbLX; RJ08g: lBwWd: goto ACxlx; fVoRB: Sc63x: goto zG2EX; vCGVJ: p0cWy: goto DyCa6; lVbLX: foreach ($attr_value_id as $key => $value) { goto h0IMD; KJYLK: $data["\x63\x72\x65\141\164\145\137\164\151\x6d\x65"] = time(); goto EV_R2; W26qh: $data["\141\x74\x74\162\x5f\166\141\x6c\165\145"] = $attr_value["\141\x74\x74\162\x5f\x76\x61\x6c\165\x65\137\156\x61\x6d\145"] == '' ? '' : $attr_value["\141\164\164\162\x5f\166\x61\x6c\165\x65\x5f\156\141\x6d\x65"]; goto OGWD9; nRhD0: $attr_value = Db::name("\171\142\x73\x63\137\x67\x6f\157\x64\163\x5f\x61\x74\164\162\x5f\x76\x61\x6c\165\145")->where("\141\164\164\162\x5f\166\141\x6c\x75\145\137\151\144", $value)->find(); goto W26qh; SzMzE: Vr2cT: goto KdoI2; EV_R2: Db::name("\x79\x62\x73\x63\137\147\157\157\144\x73\137\141\164\x74\162")->insert($data); goto SzMzE; h0IMD: $data["\141\x74\164\x72\x5f\166\x61\x6c\165\145\137\x69\x64"] = $value; goto nRhD0; OGWD9: $data["\x61\164\164\162\137\166\141\154\x75\x65\x5f\156\141\x6d\x65"] = $attr_value["\x76\141\x6c\165\x65"] == '' ? '' : $attr_value["\166\x61\x6c\165\145"]; goto P_obV; P_obV: $data["\x73\157\162\x74"] = 0; goto KJYLK; KdoI2: } goto uw83n; ZGpl7: if (empty($attr_value_id)) { goto Sc63x; } goto H2ufh; QOOmJ: $attr_value_id = explode("\x2c", $list["\x61\164\x74\x72\x5f\166\141\154\x75\145\137\x69\144"]); goto Q7qck; csIZV: $list = Db::name("\171\x62\163\x63\x5f\x67\x6f\157\144\x73\x5f\141\164\x74\x72\137\155\157\x64\165\154\145")->where("\x61\164\x74\x72\137\x69\144", $product["\x67\x6f\x6f\144\163\x5f\141\164\164\162\151\x62\165\x74\145\137\x69\144"])->find(); goto D9XOm; H2ufh: foreach ($attr_value_id as $key => $value) { goto DnNxc; DnNxc: $data["\141\164\x74\x72\137\166\x61\x6c\165\145\137\x69\144"] = $value; goto dd6OL; i36sh: $data["\143\162\x65\x61\164\x65\x5f\164\x69\x6d\x65"] = time(); goto rYi87; eSv0Q: $data["\141\164\x74\162\x5f\166\141\154\x75\145"] = $attr_value["\141\x74\x74\162\x5f\x76\141\154\165\x65\137\156\141\x6d\x65"] == '' ? '' : $attr_value["\141\x74\164\x72\137\166\141\x6c\165\x65\x5f\156\x61\155\145"]; goto NSA1l; dd6OL: $attr_value = Db::name("\171\x62\x73\143\x5f\147\157\157\144\x73\137\141\164\164\x72\137\166\141\154\x75\x65")->where("\x61\164\x74\162\137\166\x61\x6c\x75\x65\x5f\x69\144", $value)->find(); goto eSv0Q; rYi87: Db::name("\171\x62\x73\143\x5f\x67\157\157\x64\163\x5f\x61\164\x74\162")->insert($data); goto zC9pg; xJEhh: $data["\163\157\x72\164"] = 0; goto i36sh; zC9pg: nwnlf: goto Gmg06; NSA1l: $data["\141\164\x74\x72\137\x76\x61\154\x75\145\x5f\x6e\x61\155\145"] = $attr_value["\166\141\x6c\x75\145"] == '' ? '' : $attr_value["\x76\141\x6c\165\x65"]; goto xJEhh; Gmg06: } goto dSf5F; BF_Sc: $product["\x62\141\x72\143\157\x64\x65"] = empty($product["\x62\x61\x72\x63\157\144\145"]) ? '' : $product["\x62\x61\162\x63\157\144\145"]; goto r4ben; IbIan: $product = request()->post("\160\x72\157\x64\165\x63\x74", ''); goto pY5_b; Iio0O: $list = Db::name("\x79\x62\163\143\137\x67\157\157\144\163\137\x61\x74\164\x72\x5f\155\x6f\x64\165\154\145")->where("\141\164\x74\162\137\151\144", $product["\x67\x6f\x6f\x64\x73\x5f\x61\164\164\162\151\142\165\x74\x65\x5f\151\x64"])->find(); goto f0WDk; f0WDk: $data["\x67\157\157\144\x73\137\x69\144"] = $product["\147\157\x6f\144\x73\x49\x64"]; goto QOOmJ; r4ben: $goodservice = new \app\admin\service\Goods(); goto peFnb; d9LiZ: if (!(!empty($product["\x67\x6f\157\x64\x73\x5f\x61\164\x74\162\151\x62\165\164\x65\x5f\151\144"]) && $product["\x67\x6f\x6f\x64\163\x5f\141\164\164\x72\151\142\165\x74\145\137\151\x64"] != "\60")) { goto t5aKg; } goto csIZV; ACxlx: RMSzh: goto Dgpao; D9XOm: $data["\x67\x6f\157\144\x73\x5f\x69\x64"] = $product["\x67\x6f\157\144\163\111\144"]; goto sOc29; peFnb: $res = $goodservice->addOrEditGoods($product["\164\150\151\163\x5f\154\x69\142"], $this->bus_id, $product["\147\x6f\157\144\163\x49\144"], $product["\164\x69\164\154\145"], $product["\x63\x61\164\x65\147\157\x72\x79\x49\144"], $product["\163\165\x70\160\154\151\x65\x72\x49\x64"], $product["\142\162\x61\156\144\x49\144"], $product["\155\x61\x72\153\145\164\137\160\162\x69\x63\x65"], $product["\x70\x72\151\x63\145"], $product["\x63\157\163\x74\x5f\x70\x72\x69\x63\145"], $product["\163\150\x69\x70\160\x69\x6e\147\x5f\x66\x65\145"], $product["\163\150\151\x70\x70\151\x6e\147\137\x66\145\x65\137\151\x64"], $product["\163\164\157\143\153"], $product["\x6d\x69\156\x5f\142\165\x79"], $product["\142\141\163\145\137\147\x6f\x6f\144"], $product["\142\x61\163\145\137\x73\141\154\x65\163"], $product["\160\x69\143\164\x75\162\x65"], $product["\153\145\x79\137\x77\x6f\x72\x64\163"], $product["\x69\x6e\164\162\157\x64\165\143\x74\x69\x6f\x6e"], $product["\x64\x65\163\x63\x72\x69\160\x74\x69\x6f\156"], $sort = $product["\163\x6f\162\x74"], $product["\x69\155\141\x67\x65\101\x72\x72\141\171"], $product["\163\x6b\165\x41\162\x72\141\x79"], $product["\x69\x73\137\163\141\x6c\x65"], $product["\147\157\x6f\144\x73\137\x61\164\x74\x72\x69\142\x75\164\x65\137\x69\144"], $product["\147\157\x6f\x64\x73\137\x61\x74\x74\162\151\142\165\x74\x65"], $product["\x67\157\157\144\163\137\x73\160\145\x63\137\x66\157\162\155\141\164"], $product["\x73\153\x75\x5f\x70\x69\143\x74\165\x72\145\137\x76\154\141\165\x65\163"], $product["\142\141\162\x63\x6f\144\x65"], $product["\x77\145\x69\x67\150\164"]); goto JPMO7; NuMNF: $product["\x73\165\x70\x70\154\x69\145\x72\x49\x64"] = empty($product["\163\x75\160\160\x6c\x69\x65\162\111\144"]) ? 0 : $product["\163\165\x70\x70\154\x69\145\x72\x49\144"]; goto gTlSv; w3LYp: LJJNM: goto Ihgo8; uw83n: RgfpQ: goto dInGt; CeXj7: goto lBwWd; goto vCGVJ; Izs_9: $product = json_decode($product, true); goto NuMNF; DyCa6: $product["\x67\x6f\x6f\x64\163\x49\144"] = Db::name("\x79\142\x73\x63\137\x67\157\x6f\x64\x73")->max("\x67\157\157\144\163\137\151\144"); goto Vgw6C; ww0t1: $attr_value_id = explode("\x2c", $list["\141\x74\x74\162\x5f\x76\x61\x6c\165\145\x5f\x69\x64"]); goto ZGpl7; dSf5F: hD_2J: goto fVoRB; YQBKc: IYFKB: goto RJ08g; Ihgo8: if (!(!empty($product["\x67\157\x6f\x64\163\x5f\x61\164\x74\162\x69\x62\165\x74\x65\x5f\151\x64"]) && $product["\x67\157\157\x64\x73\x5f\141\x74\164\x72\151\142\x75\x74\145\x5f\x69\x64"] != "\x30")) { goto IYFKB; } goto Iio0O; Vgw6C: if (!($product["\147\157\157\x64\x73\111\144"] == '')) { goto LJJNM; } goto T48V3; F5D2R: } public function goodTypeEdit() { goto vn6Ex; yyU0O: $key = input("\160\x61\x72\141\155\56\153\x65\x79"); goto Nu5dt; JVjg1: return AjaxReturn($res); goto ld603; Nu5dt: $res = $goodservice->editGoodsType($good_id, $key); goto JVjg1; vn6Ex: $goodservice = new \app\admin\service\Goods(); goto nwmYN; nwmYN: $good_id = input("\160\x61\162\x61\x6d\x2e\147\x6f\157\x64\x73\137\x69\144"); goto yyU0O; ld603: } public function goodsbrand() { goto v_f0Y; YTaRF: $result = $goodsbrand->getGoodsBrandList($condition, '', "\143\x72\145\x61\x74\145\137\164\x69\155\145"); goto YxRt_; shffC: $this->assign("\x70\141\147\x65", $page); goto NGRQW; NGRQW: return view("\x67\x6f\157\144\163\57\x67\x6f\x6f\144\163\x5f\142\x72\x61\x6e\144"); goto r390Z; v_f0Y: $goodsbrand = new \app\admin\service\GoodsBrand(); goto FCXy5; Lq6XD: $this->assign("\162\145\163\165\154\x74", $result); goto shffC; YxRt_: $page = $result->render(); goto Lq6XD; FCXy5: $condition["\155\143\150\x5f\x69\144"] = array("\x65\x71", $this->bus_id); goto YTaRF; r390Z: } public function goodsbrand_add() { goto BQE4p; OTdvi: return AjaxReturn($res); goto TNF3j; gjBac: $res = $goodsbrand->addOrUpdateGoodsBrand('', $brand_name, $brand_initial, $brand_pic, $brand_recommend, $this->bus_id); goto OTdvi; DJxGK: $goodsbrand = new \app\admin\service\GoodsBrand(); goto eL2rk; koNKp: $brand_recommend = request()->post("\142\x72\x61\x6e\144\137\162\145\143\157\x6d\155\145\x6e\x64", ''); goto gjBac; OX7lA: return view("\147\x6f\157\x64\x73\57\147\x6f\157\x64\163\x5f\142\x72\141\x6e\144\x5f\x61\x64\x64"); goto lnp2d; eL2rk: $brand_name = request()->post("\x62\x72\141\156\144\137\x6e\x61\155\145", ''); goto GXkJF; aQZ3S: $brand_pic = request()->post("\x62\162\141\156\144\137\x70\x69\x63", ''); goto koNKp; GXkJF: $brand_initial = request()->post("\142\x72\141\156\x64\x5f\x69\x6e\151\164\x69\x61\x6c", ''); goto aQZ3S; TNF3j: ovUdh: goto OX7lA; BQE4p: if (!request()->isAjax()) { goto ovUdh; } goto DJxGK; lnp2d: } public function goodsbrand_edit() { goto EA40r; dPRKU: Gl6wv: goto XGX8W; N9Drh: $brand_initial = input("\x70\141\162\141\x6d\x2e\x62\x72\141\x6e\144\x5f\151\x6e\151\164\x69\x61\x6c", ''); goto LG39k; En_It: goto Gl6wv; goto JWfUe; U1jDz: $goodsbrand = new \app\admin\service\GoodsBrand(); goto q5K80; Eu9Wx: $brand_name = input("\160\141\x72\141\155\x2e\x62\x72\x61\156\144\x5f\x6e\x61\x6d\145", ''); goto N9Drh; EA40r: if (request()->isAjax()) { goto Z_tEs; } goto APCq9; w6pAU: $brand_info = $goodsbrand->getGoodsBrandInfo($brand_id); goto HDaPR; S9QHD: $brand_recommend = input("\x70\141\162\141\155\x2e\142\x72\x61\x6e\144\x5f\162\x65\143\157\155\155\145\156\x64", ''); goto t21QF; LG39k: $brand_pic = input("\x70\141\162\141\155\x2e\x62\162\141\x6e\x64\x5f\160\151\143", ''); goto S9QHD; sI2H3: return AjaxReturn($res); goto dPRKU; JWfUe: Z_tEs: goto U1jDz; HDaPR: $this->assign("\142\162\x61\x6e\144\x5f\151\156\x66\157", $brand_info); goto YIMoj; q5K80: $brand_id = input("\160\141\162\141\x6d\56\142\x72\x61\156\x64\x5f\x69\144", ''); goto Eu9Wx; APCq9: $goodsbrand = new \app\admin\service\GoodsBrand(); goto JrdSp; JrdSp: $brand_id = input("\x70\141\162\141\x6d\x2e\142\162\141\156\144\x5f\151\x64", ''); goto w6pAU; t21QF: $res = $goodsbrand->addOrUpdateGoodsBrand($brand_id, $brand_name, $brand_initial, $brand_pic, $brand_recommend, $this->bus_id); goto sI2H3; YIMoj: return view("\147\x6f\157\x64\163\57\147\x6f\x6f\x64\163\x5f\142\x72\x61\x6e\144\137\145\144\151\x74"); goto En_It; XGX8W: } public function deleteGoodsBrand() { goto JaiCI; JaiCI: $brand_id = input("\160\141\x72\x61\x6d\x2e\x62\162\x61\x6e\x64\x5f\151\144", ''); goto wshM2; suznq: $res = $goodsbrand->deleteGoodsBrand($brand_id); goto mNnQX; wshM2: $goodsbrand = new \app\admin\service\GoodsBrand(); goto suznq; mNnQX: return AjaxReturn($res); goto dhx4u; dhx4u: } public function goodsDelList() { goto fzFQe; lW5SY: $result = $goodservice->getGoodsList($condition); goto KHjPY; hP2Rj: $condition["\156\147\x2e\x69\163\x5f\x64\x65\154"] = array("\145\x71", 1); goto oXJv0; G5YmV: return view("\x67\x6f\157\x64\163\57\x67\157\157\144\163\137\x64\145\x6c\137\154\x69\x73\x74"); goto mU5By; Z3ZEy: $this->assign("\163\x65\x61\x72\x63\x68\137\164\145\170\164", $search_text); goto kCQeU; Ffkzf: $this->assign("\160\141\147\x65", $page); goto GVoqy; oXJv0: $condition["\x6e\147\x2e\x6d\x63\x68\137\x69\144"] = array("\x65\x71", $this->bus_id); goto lW5SY; kCQeU: $this->assign("\163\x74\141\x74\165\163", 4); goto G5YmV; fzFQe: $goodservice = new \app\admin\service\Goods(); goto Ud2xc; Ud2xc: $search_text = input("\160\x61\x72\141\155\x2e\x73\145\141\x72\x63\150\x5f\164\x65\x78\x74", ''); goto Rgutq; KHjPY: $page = $result->render(); goto Ffkzf; Rgutq: $condition["\156\147\x2e\147\157\157\144\163\x5f\x6e\141\155\145"] = array("\x6c\151\x6b\x65", "\45" . $search_text . "\x25"); goto hP2Rj; GVoqy: $this->assign("\162\145\163\x75\x6c\x74", $result); goto Z3ZEy; mU5By: } public function regainGoodsDeleted() { goto Et36Y; ssJiS: ogQf7: goto HdfTU; Et36Y: if (!request()->isAjax()) { goto ogQf7; } goto UJTOi; as1OD: return AjaxReturn($res); goto ssJiS; UJTOi: $goods_ids = input("\x70\141\162\141\155\x2e\147\157\157\x64\163\137\151\144\163"); goto V3iS2; Hnpui: $res = $goods->regainGoodsDeleted($goods_ids); goto as1OD; V3iS2: $goods = new \app\admin\service\Goods(); goto Hnpui; HdfTU: } public function emptyDeleteGoods() { goto KDUDX; Qwa8J: return AjaxReturn($res); goto y2DPP; KDUDX: $goods_ids = input("\x70\141\x72\141\x6d\x2e\147\157\157\x64\x73\137\151\x64\x73"); goto fCYCJ; fCYCJ: $goodsservice = new \app\admin\service\Goods(); goto EuyO0; EuyO0: $res = $goodsservice->deleteRecycleGoods($goods_ids); goto Qwa8J; y2DPP: } public function goods_label() { goto AJZXQ; SFpb2: $condition["\155\x63\x68\x5f\x69\x64"] = array("\145\161", $this->bus_id); goto y3I7h; JAlHj: return view("\147\x6f\157\144\163\57\x67\x6f\157\x64\x73\x5f\x6c\x61\142\145\x6c"); goto yElBN; Ngr0p: $this->assign("\x6c\x69\x73\164", $list); goto JN2Jv; omjrm: $page = $list->render(); goto Ngr0p; y3I7h: $list = $goodslabel->getGoodsGroupList($condition, '', "\x73\157\162\164"); goto omjrm; AJZXQ: $goodslabel = new GoodsLabel(); goto SFpb2; JN2Jv: $this->assign("\160\141\x67\x65", $page); goto JAlHj; yElBN: } public function goods_label_add() { goto eFPs2; aRL5q: $sort = input("\x70\x61\x72\x61\x6d\56\163\157\x72\x74", ''); goto ATTpa; mleaA: $goodslabel = new GoodsLabel(); goto I7cJL; eFPs2: if (request()->isAjax()) { goto ENqrr; } goto PK2ki; y0z6S: SW6HC: goto MmpM9; bGN1b: ENqrr: goto mleaA; I7cJL: $label_name = input("\160\141\162\x61\x6d\56\x6c\x61\x62\145\x6c\137\x6e\x61\155\x65", ''); goto aRL5q; tUJcl: return AjaxReturn($result); goto y0z6S; v7196: $result = $goodslabel->addOrEditGoodsGroup(0, $label_name, $sort, $label_pic, $this->bus_id); goto tUJcl; lv5SG: goto SW6HC; goto bGN1b; PK2ki: return view("\147\x6f\x6f\144\x73\57\x67\x6f\157\144\x73\x5f\154\141\142\x65\154\x5f\141\x64\144"); goto lv5SG; ATTpa: $label_pic = input("\160\x61\x72\x61\x6d\x2e\154\141\x62\145\154\x5f\160\151\143", ''); goto v7196; MmpM9: } public function goods_label_edit() { goto mPVTy; erN4j: $label_name = request()->post("\154\141\x62\145\x6c\x5f\156\141\x6d\x65", ''); goto jOI8V; Qvdj0: $goodslabel = new GoodsLabel(); goto MMRsg; osxb_: OtIO2: goto Fmocy; KSK62: $label_id = request()->post("\154\141\142\145\x6c\137\x69\x64", ''); goto erN4j; ODhXt: $result = $goodslabel->getGoodsGroupDetail($group_id); goto znDzC; hOZuc: $goodslabel = new GoodsLabel(); goto KSK62; MMRsg: $group_id = request()->get("\x6c\141\x62\x65\x6c\x5f\x69\144", ''); goto ODhXt; h5vOB: return view("\147\x6f\x6f\144\x73\57\x67\157\x6f\144\x73\x5f\154\x61\142\x65\154\x5f\145\x64\151\164"); goto BRvS0; ac254: $result = $goodslabel->addOrEditGoodsGroup($label_id, $label_name, $sort, $label_pic, $this->bus_id); goto xen3X; h0F63: lELqq: goto hOZuc; znDzC: $this->assign("\x64\141\x74\141", $result); goto h5vOB; BI_PC: $label_pic = request()->post("\x6c\141\x62\x65\154\x5f\x70\151\143", ''); goto ac254; jOI8V: $sort = request()->post("\x73\157\x72\x74", ''); goto BI_PC; xen3X: return AjaxReturn($result); goto osxb_; mPVTy: if (request()->isAjax()) { goto lELqq; } goto Qvdj0; BRvS0: goto OtIO2; goto h0F63; Fmocy: } public function ModifyGoodsRecommend() { goto HloZ_; WqzbG: $goods_detail = new \app\admin\service\Goods(); goto olSTx; GcPKr: $re = request()->post("\162\x65", "\60"); goto WqzbG; olSTx: $result = $goods_detail->ModifyGoodsRecommend($goods_ids, $re); goto F3AEM; HloZ_: $goods_ids = request()->post("\x67\x6f\157\144\x73\137\151\x64", ''); goto GcPKr; F3AEM: return AjaxReturn($result); goto TOJkf; TOJkf: } public function ModifyGoodsRecommendNew() { goto hRz8I; FZypd: $result = $goods_detail->ModifyGoodsRecommendNew($goods_ids, $new); goto KlC5k; aQJ1D: $goods_detail = new \app\admin\service\Goods(); goto FZypd; BQeDB: $new = request()->post("\x6e\145\167", "\x30"); goto aQJ1D; KlC5k: return AjaxReturn($result); goto EX4f9; hRz8I: $goods_ids = request()->post("\x67\157\157\144\x73\x5f\x69\144", ''); goto BQeDB; EX4f9: } public function ModifyGoodsRecommendTui() { goto CHKEp; ahlOl: return AjaxReturn($result); goto w4Sl2; oAVQY: $result = $goods_detail->ModifyGoodsRecommendTui($goods_ids, $new); goto ahlOl; HZzPY: $new = request()->post("\164\165\151", "\60"); goto n2wsX; n2wsX: $goods_detail = new \app\admin\service\Goods(); goto oAVQY; CHKEp: $goods_ids = request()->post("\147\157\157\x64\163\x5f\x69\144", ''); goto HZzPY; w4Sl2: } public function goods_attr_mod() { goto knF9w; oCUsw: $this->assign("\154\x69\163\x74", $list); goto pgCUE; FMEL4: $goods = new \app\admin\service\Goods(); goto cYrxn; pgCUE: return view("\147\157\157\x64\x73\57\x67\x6f\157\x64\163\137\141\164\164\162\137\155\157\x64"); goto u82F0; knF9w: $search_text = request()->param("\x73\145\141\x72\x63\x68\x5f\164\145\x78\x74", ''); goto FMEL4; cYrxn: $mch_id = isset($this->bus_id) ? $this->bus_id : "\60"; goto Nu2VO; Nu2VO: $list = $goods->getAttributeServiceListSelect(["\x6d\x63\150\137\x69\144" => $mch_id, "\141\x74\x74\x72\x5f\156\x61\155\145" => array("\x6c\x69\153\145", "\45" . $search_text . "\45")]); goto fD10A; u0S1R: $this->assign("\x73\x65\141\162\x63\150\137\164\145\170\x74", $search_text); goto zFiTL; zFiTL: $this->assign("\x70\x61\x67\145", $page); goto oCUsw; fD10A: $page = $list->render(); goto u0S1R; u82F0: } public function add_attr_mod() { goto YyUmv; Tcu2w: $condition["\151\x73\x5f\x75\163\145"] = array("\x65\x71", "\61"); goto QDJS0; Rjy9b: return view("\x67\157\157\144\163\57\x67\x6f\x6f\144\x73\137\x61\164\x74\162\x5f\155\157\144\x5f\x61\x64\x64"); goto hrrP3; QDJS0: $attr_value = $goods->getAttrValueAll($condition); goto qiVad; TTnvB: if (!request()->isAjax()) { goto wIk0M; } goto npXMa; RIlCc: $attr_name = input("\160\141\x72\141\x6d\56\x61\164\164\x72\137\156\x61\155\145", ''); goto s7dLz; VqkhW: $spec_id = input("\x70\141\x72\141\155\x2e\163\x70\145\143\x5f\x69\x64", "\60"); goto THzwI; PFPxT: return AjaxReturn($res); goto V8McQ; V8McQ: wIk0M: goto SWVsj; SWVsj: $where["\x6d\x63\x68\137\151\144"] = array("\x65\x71", $mch_id); goto d8NmJ; THzwI: $attr_value_id = input("\160\141\162\x61\x6d\x2e\141\x74\164\x72\137\166\x61\x6c\165\145\x5f\151\x64", "\x30"); goto X1LJi; YyUmv: $goods = new \app\admin\service\Goods(); goto kHs0E; d8NmJ: $where["\151\x73\137\x76\151\x73\x69\142\154\x65"] = array("\x65\x71", "\61"); goto UfnKp; s7dLz: $sort = input("\x70\x61\x72\x61\155\56\163\x6f\162\164", "\x30"); goto VqkhW; ccU7f: $this->assign("\x73\160\x65\143\x5f\x6c\x69\x73\x74", $spec_list); goto Tl0g8; qiVad: $this->assign("\x61\x74\164\162\x5f\166\141\x6c\x75\145", $attr_value); goto Rjy9b; UfnKp: $spec_list = $goods->getGoodsSpecAll($where); goto ccU7f; X1LJi: $is_use = input("\160\x61\x72\141\155\x2e\x69\163\x5f\165\x73\x65", "\x30"); goto HJHz0; kHs0E: $mch_id = isset($this->bus_id) ? $this->bus_id : "\x30"; goto TTnvB; Tl0g8: $condition["\x6d\x63\150\137\151\144"] = array("\145\161", $mch_id); goto Tcu2w; HJHz0: $res = $goods->addAttrModule($attr_mod_id, $attr_name, $spec_id, $attr_value_id, $is_use, $sort, $mch_id); goto PFPxT; npXMa: $attr_mod_id = input("\x70\x61\x72\x61\x6d\x2e\141\164\164\x72\137\155\157\144\x5f\x69\144", "\x30"); goto RIlCc; hrrP3: } public function attr_mod_edit() { goto PInzz; okmB7: $where["\x69\x73\x5f\x76\x69\x73\151\142\x6c\x65"] = array("\145\x71", "\61"); goto b0fwg; LBkin: $where["\155\x63\150\x5f\x69\144"] = array("\145\161", $mch_id); goto okmB7; Qi36d: $this->assign("\x61\164\164\x72\137\155\157\x64\x5f\151\156\146\x6f", $attr_mod_info); goto XBRe_; b0fwg: $spec_list = $goods->getGoodsSpecAll($where); goto Yey1a; rxZ_0: $condition["\x69\x73\137\165\x73\x65"] = array("\x65\x71", "\x31"); goto x3Axz; PInzz: $goods = new \app\admin\service\Goods(); goto J6uAJ; KFo6u: $this->assign("\141\164\164\162\137\166\x61\x6c\165\x65", $attr_value); goto T3AbR; Yey1a: $this->assign("\x73\160\145\x63\x5f\154\151\x73\164", $spec_list); goto eAC8U; J6uAJ: $mod_id = input("\x70\x61\x72\x61\x6d\56\x6d\x6f\144\137\x69\144"); goto awAjm; x3Axz: $attr_value = Db::name("\171\x62\x73\143\x5f\x67\157\x6f\x64\x73\x5f\x61\x74\x74\x72\x5f\166\x61\x6c\165\x65")->where($condition)->select(); goto KFo6u; XBRe_: $mch_id = isset($this->bus_id) ? $this->bus_id : "\60"; goto LBkin; awAjm: $attr_mod_info = $goods->getAttrModuleInfo($mod_id); goto Qi36d; eAC8U: $condition["\155\x63\150\x5f\x69\x64"] = array("\145\161", $mch_id); goto rxZ_0; T3AbR: return view("\x67\x6f\157\144\x73\57\147\x6f\x6f\x64\x73\x5f\x61\164\x74\x72\137\x6d\157\144\137\145\144\x69\164"); goto GXFW2; GXFW2: } public function attr_mod_del() { goto oWAVu; aN2bs: $mod_id = input("\x70\141\162\141\x6d\56\x6d\157\x64\x5f\151\144"); goto Fr2MX; Fr2MX: $res = $goods->attrModDel($mod_id); goto ZGBac; oWAVu: $goods = new \app\admin\service\Goods(); goto aN2bs; ZGBac: return AjaxReturn($res); goto ybaRk; ybaRk: } public function attrModOff() { goto AYOKe; lFdaF: $res = $goods->attrModOff($mod_id); goto hIoLu; hIoLu: return AjaxReturn($res); goto g7Dg7; rfLg5: $mod_id = input("\x70\141\x72\141\155\x2e\x6d\x6f\x64\x5f\x69\x64"); goto lFdaF; AYOKe: $goods = new \app\admin\service\Goods(); goto rfLg5; g7Dg7: } public function attrModOn() { goto OmNKg; KTEcO: $res = $goods->attrModOn($mod_id); goto fYszs; NX_VL: $mod_id = input("\x70\x61\x72\141\x6d\x2e\x6d\x6f\144\137\x69\144"); goto KTEcO; fYszs: return AjaxReturn($res); goto gYy1f; OmNKg: $goods = new \app\admin\service\Goods(); goto NX_VL; gYy1f: } public function select_code() { goto tFse3; SSnol: $url = "\x68\164\x74\160\72\x2f\x2f\166\151\x70\56\154\x79\61\60\x30\56\167\141\x6e\147\x2f\x61\160\151\57\141\x70\x69\x2f\x62\141\162\143\x6f\144\145\x2f\123\145\141\162\143\150"; goto pFyxs; PMODM: curl_setopt($ch, CURLOPT_POST, 1); goto z5z82; A__6m: $output = json_decode(curl_exec($ch), true); goto j6PXs; j6PXs: curl_close($ch); goto vMcMs; jOd5s: curl_setopt($ch, CURLOPT_URL, $url); goto gMunA; gMunA: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); goto PMODM; pFyxs: $post_data = array("\143\x6f\x64\x65" => $code); goto VRCAC; vMcMs: return $output; goto bKVhn; tFse3: $code = input("\160\x61\162\141\155\x2e\x63\x6f\144\145"); goto SSnol; VRCAC: $ch = curl_init(); goto jOd5s; z5z82: curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); goto A__6m; bKVhn: } public function select_lib_goods() { goto Cr7zb; DBFwp: $s = explode("\x26", $s[1]); goto H4VeU; tZjc_: $art = Db::name("\171\x62\x73\143\x5f\x67\x6f\157\x64\x73")->alias("\x67")->join("\171\x62\x73\x63\137\x69\x6d\141\147\x65\163\x20\155", "\155\56\x69\x6d\147\137\x69\x64\x3d\147\x2e\x69\x6d\141\147\x65\163")->where("\147\56\x6d\x63\150\137\x69\x64", "\x31")->field("\x67\56\147\x6f\157\144\x73\x5f\x69\x64\54\147\x2e\x63\162\145\141\164\x65\x5f\164\151\x6d\x65\54\147\x2e\147\x6f\157\x64\x73\137\156\141\x6d\145\x2c\147\x2e\x70\x72\151\x63\x65\x2c\147\56\151\x6e\164\x72\157\144\165\x63\164\151\157\x6e\54\155\56\x69\x6d\147\x5f\x63\x6f\x76\145\162\137\x73\x6d\141\154\x6c")->order("\147\56\143\162\x65\141\164\x65\137\x74\151\x6d\x65\x20\144\x65\163\x63")->where($where)->paginate(20, false, ["\x71\x75\145\x72\171" => ["\x73" => "\x2f" . $s[0], "\x73\x65\x72\x5f\x61\162\145\141" => $area]]); goto Squhz; OpYCM: return view("\x67\157\x6f\x64\x73\57\x67\x6f\x6f\x64\x73\x5f\x74\x65\x73\x74"); goto vAPqL; Cr7zb: $area = input("\160\x61\162\141\155\x2e\x73\145\162\x5f\141\162\x65\x61", "\x2d\x31"); goto N0Gst; s0uNP: if (!($area != -1 && !empty($area))) { goto W9NCC; } goto oyUEk; oyUEk: $where["\147\56\x63\141\x74\x65\x5f\x69\x64"] = ["\x65\x71", $area]; goto vGGDk; N0Gst: $s = explode("\x3d\57", $_SERVER["\x51\125\105\122\131\x5f\x53\x54\122\x49\x4e\x47"]); goto DBFwp; NTRXv: $cate = Db::name("\171\142\163\143\x5f\147\x6f\x6f\144\163\137\x63\141\x74\145")->where("\x69\x73\x5f\166\x69\x73\151\x62\x6c\x65", "\61")->where("\155\x63\150\x5f\x69\144", "\x31")->select(); goto B6Cyt; hlVMS: $this->assign("\x67\157\157\144\x73", $art); goto YExqi; dk9kI: $this->assign("\141\162\145\x61", $area); goto OpYCM; YExqi: $this->assign("\x70\141\147\x65", $page); goto NTRXv; H4VeU: $where = []; goto s0uNP; Squhz: $page = $art->render(); goto hlVMS; B6Cyt: $this->assign("\x63\x61\164\x65", $cate); goto dk9kI; vGGDk: W9NCC: goto tZjc_; vAPqL: } public function get_sort_list() { goto vwUaM; p0imp: $sort = input("\160\x61\162\141\155\x2e\163\x6f\x72\x74"); goto LDlAa; KIUr8: MFWuA: goto kA4GD; JZ2ft: if (!($sort == "\164\151\x6d\145")) { goto MFWuA; } goto iVJ3X; g1pjc: if (!($sort == "\163\141\x6c\x65\x73")) { goto sNMuQ; } goto TT2s2; xA71f: $where["\x67\56\143\141\164\145\x5f\151\x64"] = ["\x65\161", $cate]; goto yMrAf; DoPbo: $order = "\x67\x2e\x69\x73\137\x68\157\164\x20\x64\x65\x73\143"; goto FCxHJ; xS9ke: $input = Db::name("\x79\142\x73\143\137\147\x6f\157\144\163")->alias("\147")->join("\171\x62\x73\143\x5f\151\155\x61\147\145\163\40\x69", "\147\56\x69\x6d\141\147\145\163\x3d\151\56\x69\155\x67\x5f\151\144")->where("\x67\x2e\155\x63\150\137\x69\x64", $this->bus_id)->where("\x67\x2e\x69\163\137\x64\145\x6c\x3d\x30")->where($where)->field("\147\56\x2a\54\151\56\151\155\147\x5f\143\x6f\x76\145\x72")->order($order)->limit($num)->select(); goto ErBEN; kA4GD: if (!($sort == "\x70\x6f\160")) { goto cEcio; } goto DoPbo; vwUaM: $num = input("\160\141\162\141\x6d\56\x6e\165\155"); goto p0imp; UeMTz: if (!($cate != 0)) { goto xAH3F; } goto xA71f; FCxHJ: cEcio: goto g1pjc; yMrAf: xAH3F: goto JZ2ft; iVJ3X: $order = "\x67\x2e\143\x72\x65\x61\x74\x65\x5f\x74\x69\155\x65\40\144\x65\163\x63"; goto KIUr8; LDlAa: $cate = input("\x70\141\x72\x61\155\56\143\141\164\x65"); goto lkx4I; TT2s2: $order = "\x67\x2e\x72\145\x61\x6c\x5f\x73\141\x6c\145\163\x20\x64\145\x73\143"; goto b2FXR; lkx4I: $where = []; goto UeMTz; ErBEN: return $input; goto XWait; b2FXR: sNMuQ: goto xS9ke; XWait: } public function get_sort_img_list() { goto mBqh9; B44OP: $where = []; goto v7HC8; wgclJ: if (!($sort == "\x74\151\x6d\145")) { goto cCInj; } goto VHF99; Lcgo9: oGf31: goto wgclJ; V8Cax: $input = Db::name("\171\x62\163\x63\137\x61\x72\x74\151\143\154\x65")->where("\x6d\143\150\137\x69\144", $this->bus_id)->where($where)->order($order)->limit($num)->select(); goto p_Whs; SPzIZ: $order = "\x69\x73\x5f\162\145\x63\x6f\x6d\x6d\x65\156\144\40\144\x65\163\143"; goto UDk0x; VHF99: $order = "\x63\162\x65\141\164\145\137\x74\x69\x6d\145\40\x64\145\163\x63"; goto p_mc7; p_Whs: return $input; goto V_Zej; yy3EN: $order = "\x63\x6c\x69\x63\153\40\144\145\x73\x63"; goto OUt8I; UDk0x: Hn0JX: goto V8Cax; QPxw2: $cate = input("\x70\x61\162\x61\x6d\x2e\x63\141\164\x65"); goto B44OP; v7HC8: if (!($cate != 0)) { goto oGf31; } goto Z_Lii; mBqh9: $num = input("\x70\141\162\141\155\x2e\x6e\165\x6d"); goto rF1fq; OUt8I: UFmAJ: goto WdHjn; LeBll: if (!($sort == "\x70\157\160")) { goto UFmAJ; } goto yy3EN; WdHjn: if (!($sort == "\x73\141\154\x65\163")) { goto Hn0JX; } goto SPzIZ; rF1fq: $sort = input("\x70\x61\162\x61\155\x2e\x73\x6f\x72\x74"); goto QPxw2; Z_Lii: $where["\143\x6c\x61\x73\x73\x5f\x69\x64"] = ["\x65\x71", $cate]; goto Lcgo9; p_mc7: cCInj: goto LeBll; V_Zej: } public function goods_collect() { goto YBMz3; XjLTf: if (!($i < count($detail["\x64\141\x74\x61"]["\x69\x74\145\155"]["\x69\x6d\141\x67\145\163"]))) { goto b96wj; } goto TTJXA; dzv05: $html .= "\x3c\57\144\151\166\x3e"; goto wx9nD; sDoKk: h8b_R: goto kM0LM; wx9nD: e6_2I: goto l6a9B; TTJXA: $html .= "\74\x64\x69\166\x20\x6e\x73\x74\171\x70\x65\75\42\x67\157\157\x64\163\x5f\151\x6d\x61\147\x65\42\40\143\154\141\163\x73\75\x22\165\x70\x6c\x6f\x61\144\55\x74\150\x75\155\142\40\144\162\141\147\x67\141\142\154\x65\55\145\154\x65\155\145\x6e\164\x22\76"; goto tc5Wd; fYdYh: wvPFf: goto KuG4j; ORQjl: $html .= "\x3c\144\151\x76\x20\x63\154\x61\x73\163\75\x22\142\154\x61\143\x6b\x2d\142\x67\42\40\x6f\156\x63\x6c\x69\x63\x6b\x3d\x22\162\x65\x6d\154\157\x6e\x67\50\x74\150\151\x73\x29\73\x22\x3e"; goto sy96R; qTJiD: return json($data); goto a2xms; NYhia: $data["\160\162\x69\x63\x65"] = isset($res[1][0]) ? $res[1][0] : ''; goto rPYmz; nwCL7: $html .= "\x3c\x69\156\160\x75\x74\x20\x74\171\160\x65\75\x22\x68\151\144\144\145\156\x22\40\x6e\141\155\145\75\42\151\163\137\141\151\x22\x20\x69\x64\75\42\x69\x73\x5f\x61\151\x22\x20\x76\141\x6c\165\145\x3d\x22\x31\42\x3e"; goto CbW1b; GZ_iq: $data["\x68\x74\155\154"] = $html; goto W1YmW; JqJhU: $html .= "\x3c\57\144\x69\x76\x3e"; goto dzv05; PGG7x: b96wj: goto nwCL7; Cn3iu: $data["\x63\157\156\x74\145\x6e\x74"] = preg_replace("\57\x5b\x5c\x6e\x5c\162\135\x2a\x5b\134\163\x5d\x7b\x32\54\x7d\57", '', $res[1][0]); goto WWcNI; pN0k7: $url = str_replace("\x22", "\x27", $url); goto sZySl; OLtlT: $cont = get_url_content($url, "\150\164\x74\160\163"); goto IQO44; rPYmz: preg_match_all("\57\143\154\141\163\163\x3d\42\164\x62\x2d\x6d\141\151\156\x2d\x74\151\164\154\145\x22\133\x5c\163\x5d\x2a\144\141\164\141\55\x74\x69\164\154\145\75\x22\x28\x2e\x2a\x3f\x29\x22\x2f", $cont, $res); goto wIg3Z; tsBbu: preg_match_all("\x2f\x3c\x75\x6c\x5b\x5c\x73\135\52\x63\154\141\163\x73\x3d\x22\141\x74\164\x72\151\142\x75\164\145\x73\x2d\x6c\151\163\164\x22\76\50\56\x2a\77\51\x3c\x5c\x2f\x75\x6c\x3e\x2f\x73", $cont, $res); goto Cn3iu; KhppK: return view(); goto bFTlB; sZySl: $img = "\x68\x74\164\x70\163\72\57\57\150\x77\163\x2e\155\56\x74\141\x6f\x62\x61\x6f\56\x63\x6f\155\x2f\143\141\143\150\145\57\155\x74\157\x70\x2e\167\x64\145\x74\x61\151\154\56\147\145\x74\111\164\x65\155\x44\145\163\143\170\x2f\64\x2e\61\x2f\x3f\x64\x61\x74\141\75\x25\67\x42\x25\x32\x32\x69\x74\x65\x6d\x5f\156\x75\x6d\x5f\151\x64\45\62\x32\x25\63\101\45\x32\62"; goto IxDcw; UUO3j: $data["\150\164\x6d\154"] = $html; goto ToBrq; faeFQ: $html = ''; goto ZUqVo; UC15h: $pic = str_replace("\166\141\x72\40\144\145\163\143\75\x27", '', substr($pic, 0, strlen($pic) - 3)); goto td8IE; eDzK3: $head = "\150\164\x74\160\163\x3a\57\x2f\x68\x35\141\160\x69\x2e\x6d\x2e\164\141\157\142\x61\157\56\x63\157\x6d\x2f\x68\65\57\x6d\164\x6f\160\56\164\141\x6f\x62\141\x6f\56\x64\145\164\141\x69\x6c\56\x67\145\164\144\x65\x74\x61\151\x6c\x2f\66\56\60\x2f\x3f\144\141\164\141\75\45\x37\x42\45\x32\62\145\x78\x50\141\162\141\155\163\x25\x32\62\x25\x33\x41\45\62\62\x25\x37\x42\x25\65\x43\x25\62\62\x69\x64\45\x35\103\45\62\x32\45\x33\x41\x25\x35\x43\x25\x32\62{$id}\45\65\x43\x25\62\x32\45\67\104\x25\62\x32\45\62\103\x25\62\62\151\x74\145\155\x4e\x75\155\x49\144\x25\62\62\45\63\x41\45\x32\62{$id}\45\x32\62\45\x37\x44"; goto mfP05; wIg3Z: $data["\x74\151\x74\154\x65"] = isset($res[1][0]) ? $res[1][0] : ''; goto tsBbu; Z7VNJ: $i = 0; goto fYdYh; CbW1b: $list = json_decode(get_url_content($img . $id . "\45\x32\62\x25\67\x44", "\x68\x74\x74\x70\163"), true); goto acH1F; H6Gts: C5kxo: goto XjLTf; ToBrq: goto QSLIK; goto jehky; W1YmW: QSLIK: goto qTJiD; kM0LM: $i++; goto ucNh3; cMRMA: goto C5kxo; goto PGG7x; acH1F: $url = substr($url, 1, strlen($url) - 1); goto OLtlT; C5CuM: $data["\143\157\156\x74\145\156\x74"] .= "\x3c\x69\x6d\147\40\x73\x72\143\75\x27" . $list["\x64\141\x74\x61"]["\x69\155\141\147\145\163"][$i] . "\x27\40\163\x74\171\x6c\x65\x3d\x27\x6d\x61\x78\x2d\167\151\x64\164\x68\x3a\x20\67\65\x30\x2e\60\x70\170\73\47\76"; goto sDoKk; mfP05: $detail = json_decode(get_url_content($head, "\x68\164\164\160\x73"), true); goto mAjbj; mAjbj: $i = 0; goto H6Gts; sy96R: $html .= "\x3c\x64\151\166\x20\x63\154\x61\163\x73\x3d\42\157\x66\146\55\142\157\x78\x22\x3e\x26\x74\151\x6d\x65\163\x3b\x3c\x2f\144\x69\x76\x3e"; goto JqJhU; TgvTs: Jugs6: goto GZ_iq; sCVQr: $html .= "\74\151\x6e\160\165\x74\40\164\171\x70\x65\x3d\x22\x68\151\x64\x64\145\156\x22\x20\156\141\155\x65\x3d\42\147\x6f\157\144\x73\137\x64\157\167\x6e\x5f\x69\155\147\42\x20\143\x6c\x61\x73\163\x3d\42\x75\x70\x6c\157\x61\x64\137\151\155\147\137\x69\144\x22\40\156\x73\x74\171\160\x65\x3d\42\147\157\x6f\x64\x73\137\151\x6d\141\147\145\x22\40\x76\x61\154\165\145\75\42\150\164\164\160\163\72" . $detail["\x64\x61\164\141"]["\151\164\145\x6d"]["\x69\x6d\141\x67\145\x73"][$i] . "\42\76"; goto ORQjl; qI2ab: $pic = get_url_content("\x68\x74\164\x70\x3a\x2f\57" . $res[1][0]); goto UC15h; IxDcw: preg_match_all("\57\151\x64\75\50\x2e\52\x3f\51\x26\57", $url, $res); goto IflZA; KuG4j: if (!($i < count($list["\144\x61\x74\141"]["\x69\x6d\x61\147\x65\163"]))) { goto Jugs6; } goto C5CuM; l6a9B: $i++; goto cMRMA; td8IE: $data["\143\157\x6e\x74\x65\x6e\x74"] .= $pic; goto mdqsm; mdqsm: $data["\x62\141\x73\145\x5f\x6e\165\155"] = rand(10, 100); goto uwJoF; IQO44: preg_match_all("\x2f\x6e\141\x6d\145\75\x22\143\165\x72\x72\x65\x6e\x74\137\160\x72\x69\143\x65\x22\x5b\x5c\x73\135\x2a\x76\141\x6c\x75\x65\x3d\x20\x22\x28\x2e\52\x3f\x29\42\x2f", $cont, $res); goto NYhia; ZUqVo: $url = request()->post("\x75\162\154"); goto pN0k7; IflZA: $id = isset($res[1][0]) ? $res[1][0] : ''; goto eDzK3; tc5Wd: $html .= "\x3c\151\155\x67\x20\x6e\163\164\x79\160\145\75\42\x67\157\x6f\144\163\x5f\151\155\141\147\x65\x22\40\163\162\x63\75\x22\x68\x74\x74\160\163\72" . $detail["\144\141\x74\x61"]["\151\x74\x65\x6d"]["\151\x6d\x61\147\x65\x73"][$i] . "\42\x3e"; goto sCVQr; ucNh3: goto wvPFf; goto TgvTs; WWcNI: preg_match_all("\57\x6c\x6f\143\141\x74\151\157\x6e\x5c\56\160\x72\157\164\x6f\143\157\154\56\x2a\72\x5c\163\47\134\x2f\134\57\x28\x2e\x2a\x3f\51\x27\54\x5c\163\57", $cont, $res); goto qI2ab; a2xms: b8wsh: goto KhppK; jehky: V0d0L: goto Z7VNJ; uwJoF: if (isset($list["\x64\x61\x74\141"]["\x69\x6d\141\147\145\x73"])) { goto V0d0L; } goto UUO3j; YBMz3: if (!(request()->isAjax() && request()->isPost())) { goto b8wsh; } goto faeFQ; bFTlB: } public function goods_collect_auto() { goto ChmvT; IZtIp: c9QCd: goto Y6HFJ; nNYtP: $data["\x69\x6d\x67\x5f\163\160\x65\x63\x5f\155\x69\x64"] = "\x33\66\60\54\x33\66\x30"; goto jabM6; DTE1r: $data["\151\x6d\147\x5f\163\x69\172\145\137\155\151\x63\162\157"] = "\x32\64\60\54\62\x34\x30"; goto D29sq; cCdYA: $data["\151\x6d\x67\137\156\x61\155\145"] = time() . "\101\162\x6c\x69\x6b\x69"; goto ivtpM; sdg9c: goto c9QCd; goto wbOK8; eYNRR: $i = 0; goto IZtIp; w0bBZ: return $res["\151\x6d\x67\x61\162\x72"]; goto LK7FT; ChmvT: $condition["\155\143\150\x5f\151\x64"] = $this->bus_id; goto wX1jc; p28NT: $data["\151\x6d\x67\x5f\x63\157\x76\x65\162"] = $img[$i]; goto RxmZ5; OmF8K: $data["\151\155\147\x5f\163\x70\x65\x63\x5f\163\x6d\141\x6c\x6c"] = "\62\64\x30\54\62\64\60"; goto DTE1r; Hnv0x: $data["\151\x6d\147\x5f\x73\151\172\145\x5f\142\x69\x67"] = "\x37\60\60\54\67\x30\x30"; goto SwXnn; UH3Wf: $res["\146\151\x64"] = $iid[0]; goto SfMOo; wX1jc: $type = request()->post("\x74\x79\160\145"); goto tjbSz; E1E5M: $i++; goto sdg9c; VHIs8: if (empty($default["\x67\162\x6f\165\x70\x5f\x69\x64"])) { goto gJ8dQ; } goto uOTel; TQ7x9: $img = explode("\54", $img_arr); goto OiIJA; mGjeD: $gid = db::name("\171\x62\163\143\137\151\x6d\141\147\x65\163\x5f\147\x72\157\x75\x70")->max("\147\162\157\x75\160\x5f\x69\x64"); goto m38sR; LK7FT: KwgnI: goto h_S75; opy0n: gJ8dQ: goto suhdk; wbOK8: D1D5V: goto UH3Wf; SIBRQ: $default = db::name("\171\142\163\x63\137\151\155\x61\147\145\x73\x5f\147\x72\x6f\x75\x70")->field("\x67\x72\x6f\165\160\x5f\x69\144")->where($condition)->find(); goto VHIs8; D29sq: $data["\x69\x6d\x67\137\x73\160\x65\143\137\155\151\143\162\x6f"] = "\62\x34\x30\54\62\x34\x30"; goto BlMWr; SfMOo: $res["\x69\155\x67\x61\162\x72"] = implode("\54", $iid); goto w0bBZ; DOdcD: $data["\151\155\x67\137\x73\151\x7a\x65\137\x6d\151\x64"] = "\63\66\60\x2c\63\66\60"; goto nNYtP; Y6HFJ: if (!($i < count($img))) { goto D1D5V; } goto cCdYA; ivtpM: $data["\x69\155\147\137\x74\x61\147"] = "\x41\x72\154\151\153\x69"; goto p28NT; o1o1g: goto dNkDC; goto opy0n; jWH4e: jqWgo: goto E1E5M; tjbSz: $img_arr = request()->post("\151\155\x67\x5f\141\162\162"); goto woPEo; RAUAz: $iid[$i] = $i_id; goto jWH4e; OiIJA: $iid = array(); goto eYNRR; RxmZ5: $data["\x67\162\157\x75\160\x5f\151\x64"] = $gid; goto DWMN8; SwXnn: $data["\x69\x6d\x67\x5f\163\x70\x65\143\x5f\142\x69\147"] = "\x37\60\60\x2c\67\60\60"; goto DOdcD; m38sR: dNkDC: goto TQ7x9; DWMN8: $i_id = db::name("\171\x62\x73\x63\x5f\151\x6d\141\147\145\x73")->insertGetId($data); goto RAUAz; jabM6: $data["\151\x6d\147\137\x73\151\172\x65\x5f\163\x6d\x61\x6c\x6c"] = "\x32\64\x30\x2c\x32\x34\x30"; goto OmF8K; BlMWr: $condition["\x67\x72\157\165\x70\x5f\156\x61\x6d\x65"] = "\xe9\273\230\350\xae\xa4\xe7\x9b\xb8\xe5\x86\214"; goto SIBRQ; woPEo: if (!($type == "\x75\x70\160\151\x63")) { goto KwgnI; } goto Hnv0x; suhdk: db::query("\151\x6e\x73\145\x72\164\x20\x69\155\163\137\171\142\163\143\137\151\x6d\141\x67\145\x73\137\147\162\x6f\x75\160\40\x69\x6e\x74\157\x20\x28\47\147\x72\x6f\165\160\x5f\x6e\141\x6d\x65\47\x2c\47\151\163\x5f\x64\145\146\x61\x75\x6c\x74\47\x2c\47\163\157\162\x74\47\54\x27\x63\162\145\141\x74\145\x5f\164\x69\x6d\145\47\x2c\x27\x6d\x63\150\137\x69\x64\x27\51\x20\126\101\x4c\x55\x45\123\x20\x28\47\351\xbb\x98\xe8\xae\244\347\233\xb8\345\206\214\x27\x2c\x31\x2c\x31\54\47" . time() . "\x27\54\47" . $condition["\155\x63\x68\x5f\x69\144"] . "\47\51"); goto mGjeD; uOTel: $gid = $default["\x67\x72\x6f\x75\x70\137\x69\144"]; goto o1o1g; h_S75: } }
